From 5219e3967bf6e776be7f0f89fd96ebcf385362fd Mon Sep 17 00:00:00 2001 From: Daniel Borges Date: Thu, 25 Jul 2019 15:41:14 -0300 Subject: [PATCH] display options alert dialog --- lib/widgets/display_options_bottom_sheet.dart | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/widgets/display_options_bottom_sheet.dart b/lib/widgets/display_options_bottom_sheet.dart index bb93fb4..9ee3bce 100644 --- a/lib/widgets/display_options_bottom_sheet.dart +++ b/lib/widgets/display_options_bottom_sheet.dart @@ -8,16 +8,16 @@ class _Action { class DisplayOptionsDialog extends StatelessWidget { final List<_Action> _actions = [ - _Action('Blank', () { + _Action('Blank screen', () { print('Blank screen'); }), - _Action('Theme', () { + _Action('Theme background', () { print('Theme screen'); }), _Action('Desktop', () { print('Desktop screen'); }), - _Action('Show', () { + _Action('Full projection', () { print('Show screen'); }), ]; @@ -28,7 +28,8 @@ class DisplayOptionsDialog extends StatelessWidget { contentPadding: EdgeInsets.all(20.0), children: _actions .map((action) => OutlineButton( - color: Colors.red, + borderSide: BorderSide(color: Theme.of(context).primaryColor), + textColor: Theme.of(context).primaryColor, child: Text(action.title), onPressed: () { action.callback();