File tree 1 file changed +12
-13
lines changed
1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -126,19 +126,18 @@ class _MultiAccountSelectionWidgetState
126
126
),
127
127
),
128
128
Padding (
129
- padding: const EdgeInsets .all (8.0 ),
130
- child: RaisedButton (
131
- textColor: Colors .white,
132
- color: widget.doneButtonColor,
133
- child: Text (widget.doneText),
134
- onPressed: () {
135
- Navigator .of (context).pop (currentlySelectedIndexList);
136
- },
137
- shape: new RoundedRectangleBorder (
138
- borderRadius: new BorderRadius .circular (30.0 ),
139
- ),
140
- ),
141
- ),
129
+ padding: const EdgeInsets .all (8.0 ),
130
+ child: ElevatedButton (
131
+ style: ButtonStyle (
132
+ textStyle: MaterialStateProperty .resolveWith (
133
+ (states) => TextStyle (color: Colors .white)),
134
+ backgroundColor:
135
+ MaterialStateProperty .all (widget.doneButtonColor)),
136
+ child: Text (widget.doneText),
137
+ onPressed: () {
138
+ Navigator .of (context).pop (currentlySelectedIndexList);
139
+ },
140
+ )),
142
141
],
143
142
),
144
143
);
You can’t perform that action at this time.
0 commit comments