forked from firka/flutter
Enable sort_child_properties_last lint (#91585)
This commit is contained in:
@@ -34,7 +34,6 @@ class MyStatelessWidget extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return Tooltip(
|
||||
message: 'I am a Tooltip',
|
||||
child: const Text('Tap this text and hold down to show a tooltip.'),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(25),
|
||||
gradient:
|
||||
@@ -48,6 +47,7 @@ class MyStatelessWidget extends StatelessWidget {
|
||||
),
|
||||
showDuration: const Duration(seconds: 2),
|
||||
waitDuration: const Duration(seconds: 1),
|
||||
child: const Text('Tap this text and hold down to show a tooltip.'),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user