Skip to content

Commit

Permalink
Format project
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Ioannou committed Nov 16, 2020
1 parent 2a414f5 commit 07d0bac
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -73,25 +73,30 @@ class _MyHomePageState extends State<MyHomePage> {
context: context,
actions: <BottomSheetAction>[
BottomSheetAction(
title: 'Font and color',
onPressed: () {},
textStyle: const TextStyle(
fontSize: 50,
color: Colors.lightGreen,
)),
BottomSheetAction(title: 'No style specified', onPressed: () {}),
title: 'Font and color',
onPressed: () {},
textStyle: const TextStyle(
fontSize: 25,
color: Colors.blueAccent,
),
),
BottomSheetAction(
title: 'No style specified',
onPressed: () {},
),
BottomSheetAction(
title: 'Color only',
onPressed: () {},
textStyle: const TextStyle(color: Colors.red),
),
],
cancelAction: CancelAction(
title: 'Cancel (styled)',
textStyle: const TextStyle(
color: Colors.lightGreen,
fontSize: 28
)),
title: 'Cancel (styled)',
textStyle: const TextStyle(
color: Colors.lightGreen,
fontSize: 28,
),
),
);
},
child: const Text('Show action sheet with custom text style'),
Expand Down

0 comments on commit 07d0bac

Please sign in to comment.