From 07d0bac73f6c21ba2245fa1553e91b72bc2bc757 Mon Sep 17 00:00:00 2001 From: -Daniel Ioannou Date: Mon, 16 Nov 2020 22:45:52 +0200 Subject: [PATCH] Format project --- example/lib/main.dart | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index 62cb48a..fea4d45 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -73,13 +73,17 @@ class _MyHomePageState extends State { context: context, actions: [ 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: () {}, @@ -87,11 +91,12 @@ class _MyHomePageState extends State { ), ], 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'),