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(), ); },