Skip to content

Commit 89c56f6

Browse files
committed
format
1 parent 4fa605a commit 89c56f6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lib/src/widgets/slide_action.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ class IconSlideAction extends ClosableSlideAction {
131131
final Text textWidget = new Text(
132132
caption ?? '',
133133
overflow: TextOverflow.ellipsis,
134-
style: Theme
135-
.of(context)
134+
style: Theme.of(context)
136135
.primaryTextTheme
137136
.caption
138137
.copyWith(color: foregroundColor),

test/flutter_slidable_test.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ Widget buildTest(
8181
return new ListView(
8282
scrollDirection: scrollDirection,
8383
itemExtent: itemExtent,
84-
children: List
85-
.generate(5, (int index) => buildSlidableWidget(index))
84+
children: List.generate(5, (int index) => buildSlidableWidget(index))
8685
.toList(),
8786
);
8887
},

0 commit comments

Comments
 (0)