mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Tweaked pubspecs, linted. (#113)
This commit is contained in:
committed by
Filip Hracek
parent
db963d801c
commit
3d40fa9fb2
@@ -195,9 +195,9 @@ class _TriviaViewState extends State<TriviaView> {
|
||||
CupertinoButton(
|
||||
child: Text('Next Question'),
|
||||
onPressed: () => setState(() {
|
||||
triviaIndex++;
|
||||
status = PlayerStatus.readyToAnswer;
|
||||
}),
|
||||
triviaIndex++;
|
||||
status = PlayerStatus.readyToAnswer;
|
||||
}),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -69,9 +69,9 @@ class VeggieHeadline extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return GestureDetector(
|
||||
onTap: () => Navigator.of(context).push<void>(CupertinoPageRoute(
|
||||
builder: (context) => DetailsScreen(veggie.id),
|
||||
fullscreenDialog: true,
|
||||
)),
|
||||
builder: (context) => DetailsScreen(veggie.id),
|
||||
fullscreenDialog: true,
|
||||
)),
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
|
||||
Reference in New Issue
Block a user