We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fa605a commit 89c56f6Copy full SHA for 89c56f6
lib/src/widgets/slide_action.dart
@@ -131,8 +131,7 @@ class IconSlideAction extends ClosableSlideAction {
131
final Text textWidget = new Text(
132
caption ?? '',
133
overflow: TextOverflow.ellipsis,
134
- style: Theme
135
- .of(context)
+ style: Theme.of(context)
136
.primaryTextTheme
137
.caption
138
.copyWith(color: foregroundColor),
test/flutter_slidable_test.dart
@@ -81,8 +81,7 @@ Widget buildTest(
81
return new ListView(
82
scrollDirection: scrollDirection,
83
itemExtent: itemExtent,
84
- children: List
85
- .generate(5, (int index) => buildSlidableWidget(index))
+ children: List.generate(5, (int index) => buildSlidableWidget(index))
86
.toList(),
87
);
88
},
0 commit comments