Skip to content

Commit aeb0895

Browse files
committed
perf(dialog): modify the highlightColor of the dialog button
1 parent a62f09c commit aeb0895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dialog.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class _AndroidDialog extends StatelessWidget {
2626
actions: actions
2727
.map((action) => FlatButton(
2828
child: Text(action.text),
29+
highlightColor: Color(0xFFDEDEDE),
2930
onPressed: () {
3031
Navigator.pop(context);
3132
if (action.onPressed != null) action.onPressed();
@@ -44,7 +45,6 @@ class _IosDialog extends StatelessWidget {
4445
final List<DialogActions> actions;
4546
@override
4647
Widget build(BuildContext context) {
47-
// TODO: implement build
4848
return CupertinoAlertDialog(
4949
title: title != null ? Text(title) : null,
5050
content: Text(content),

0 commit comments

Comments
 (0)