D1APP-16 flushbar edits
This commit is contained in:
parent
c5daae34d5
commit
b7a60b0bb7
|
|
@ -63,12 +63,17 @@ class ActionSheetUtils {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
await Flushbar(
|
await Flushbar(
|
||||||
margin: const EdgeInsets.symmetric(horizontal: 16),
|
margin: const EdgeInsets.only(left: 16, right: 16, bottom: 16),
|
||||||
borderColor: foregroundColor,
|
borderColor: foregroundColor,
|
||||||
backgroundColor: backgroundColor,
|
backgroundColor: backgroundColor,
|
||||||
borderRadius: DesignConfig.mediumBorderRadius,
|
borderRadius: DesignConfig.mediumBorderRadius,
|
||||||
icon: const Icon(DidvanIcons.info_circle_solid),
|
padding: const EdgeInsets.symmetric(vertical: 16),
|
||||||
|
icon: Icon(
|
||||||
|
DidvanIcons.info_circle_solid,
|
||||||
|
color: foregroundColor,
|
||||||
|
),
|
||||||
shouldIconPulse: true,
|
shouldIconPulse: true,
|
||||||
|
dismissDirection: FlushbarDismissDirection.HORIZONTAL,
|
||||||
flushbarPosition: FlushbarPosition.BOTTOM,
|
flushbarPosition: FlushbarPosition.BOTTOM,
|
||||||
messageText: StatefulBuilder(builder: (context, setState) {
|
messageText: StatefulBuilder(builder: (context, setState) {
|
||||||
if (isInit) {
|
if (isInit) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue