@@ -5,6 +5,7 @@ import 'package:flutter/material.dart';
55
66import 'indicators/simple_indicator.dart' ;
77import 'screens/example_indicator_screen.dart' ;
8+ import 'screens/fetch_more_screen.dart' ;
89import 'screens/ice_cream_indicator_screen.dart' ;
910import 'screens/plane_indicator_screen.dart' ;
1011import 'screens/check_mark_indicator_screen.dart' ;
@@ -29,10 +30,11 @@ class MyApp extends StatelessWidget {
2930 routes: {
3031 '/example' : (context) => const ExampleIndicatorScreen (),
3132 '/plane' : (context) => const PlaneIndicatorScreen (),
32- '/ice_cream ' : (context) => const IceCreamIndicatorScreen (),
33+ '/ice-cream ' : (context) => const IceCreamIndicatorScreen (),
3334 '/presentation' : (context) => const PresentationScreen (),
3435 '/check-mark' : (context) => const CheckMarkIndicatorScreen (),
3536 '/warp' : (context) => const WarpIndicatorScreen (),
37+ '/fetch-more' : (context) => const FetchMoreScreen (),
3638 '/programmatically-controlled' : (context) =>
3739 const ProgrammaticallyControlled (),
3840 },
@@ -57,7 +59,7 @@ class MainScreen extends StatelessWidget {
5759 child: Container (
5860 height: 50 ,
5961 alignment: Alignment .center,
60- child: const Text ("Presentation " ),
62+ child: const Text ("Controller presentation " ),
6163 ),
6264 onPressed: () => Navigator .pushNamed (
6365 context,
@@ -111,15 +113,15 @@ class MainScreen extends StatelessWidget {
111113 ),
112114 onPressed: () => Navigator .pushNamed (
113115 context,
114- '/ice_cream ' ,
116+ '/ice-cream ' ,
115117 ),
116118 ),
117119 const SizedBox (height: 15 ),
118120 ElevatedButton (
119121 child: Container (
120122 height: 50 ,
121123 alignment: Alignment .center,
122- child: const Text ("Check mark " ),
124+ child: const Text ("Witch complete state " ),
123125 ),
124126 onPressed: () => Navigator .pushNamed (
125127 context,
@@ -151,6 +153,18 @@ class MainScreen extends StatelessWidget {
151153 '/programmatically-controlled' ,
152154 ),
153155 ),
156+ const SizedBox (height: 15 ),
157+ ElevatedButton (
158+ child: Container (
159+ height: 50 ,
160+ alignment: Alignment .center,
161+ child: const Text ("Swipe to fetch more" ),
162+ ),
163+ onPressed: () => Navigator .pushNamed (
164+ context,
165+ '/fetch-more' ,
166+ ),
167+ ),
154168 ],
155169 ),
156170 ),
0 commit comments