From 89c56f64ce320b31c0592e32d82ade954fc2b281 Mon Sep 17 00:00:00 2001 From: Romain Rastel Date: Fri, 31 Aug 2018 20:58:53 +0200 Subject: [PATCH] format --- lib/src/widgets/slide_action.dart | 3 +-- test/flutter_slidable_test.dart | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/src/widgets/slide_action.dart b/lib/src/widgets/slide_action.dart index 3375a2c5..621538bb 100644 --- a/lib/src/widgets/slide_action.dart +++ b/lib/src/widgets/slide_action.dart @@ -131,8 +131,7 @@ class IconSlideAction extends ClosableSlideAction { final Text textWidget = new Text( caption ?? '', overflow: TextOverflow.ellipsis, - style: Theme - .of(context) + style: Theme.of(context) .primaryTextTheme .caption .copyWith(color: foregroundColor), diff --git a/test/flutter_slidable_test.dart b/test/flutter_slidable_test.dart index 3171434a..3fa4ef9c 100644 --- a/test/flutter_slidable_test.dart +++ b/test/flutter_slidable_test.dart @@ -81,8 +81,7 @@ Widget buildTest( return new ListView( scrollDirection: scrollDirection, itemExtent: itemExtent, - children: List - .generate(5, (int index) => buildSlidableWidget(index)) + children: List.generate(5, (int index) => buildSlidableWidget(index)) .toList(), ); },