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 a143ab0 commit 54c2b68Copy full SHA for 54c2b68
lib/example/sticky_header.dart
@@ -197,6 +197,7 @@ class WideHeader extends StatelessWidget {
197
return Material(
198
color: Theme.of(context).colorScheme.primaryContainer,
199
child: ListTile(
200
+ onTap: () {}, // nop, but non-null so the ink splash appears
201
title: Text("Section ${i + 1}",
202
style: TextStyle(
203
color: Theme.of(context).colorScheme.onPrimaryContainer))));
@@ -211,7 +212,9 @@ class WideItem extends StatelessWidget {
211
212
213
@override
214
Widget build(BuildContext context) {
- return ListTile(title: Text("Item ${i + 1}.${j + 1}"));
215
+ return ListTile(
216
217
+ title: Text("Item ${i + 1}.${j + 1}"));
218
}
219
220
0 commit comments