File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -288,8 +288,8 @@ const PAGE_ITEMS = [
288288 "click" : PageName .ASYNC_STREAM_BUILDER ,
289289 },
290290 {
291- "title" : PageName .PAINT_OPACITY ,
291+ "title" : PageName .PAINTING ,
292292 "img" : PageImage .FLUTTER_OPEN ,
293- "click" : PageName .PAINT_OPACITY ,
293+ "click" : PageName .PAINTING ,
294294 },
295295];
Original file line number Diff line number Diff line change @@ -63,5 +63,5 @@ class PageName {
6363 static const INTER_NAV = "Navigator" ;
6464 static const ASYNC_FUTURE = "FutureBuilder" ;
6565 static const ASYNC_STREAM_BUILDER = "StreamBuilder" ;
66- static const PAINT_OPACITY = "Opacity " ;
66+ static const PAINTING = "Painting " ;
6767}
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ class FlutterOpenApp extends StatelessWidget {
7676 PageName .INTER_NAV : (context) => NavigatorPage (),
7777 PageName .ASYNC_FUTURE : (context) => FuturePage (),
7878 PageName .ASYNC_STREAM_BUILDER : (context) => StreamBuilderPage (),
79- PageName .PAINT_OPACITY : (context) => PaintingPage (),
79+ PageName .PAINTING : (context) => PaintingPage (),
8080 },
8181 );
8282 }
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ class _OpacityState extends State<PaintingPage> {
117117 Widget build (BuildContext context) {
118118 return Scaffold (
119119 appBar: AppBar (
120- title: Text ("Hello world" ),
120+ title: Text (PageName . PAINTING ),
121121 ),
122122 body: SingleChildScrollView (
123123 child: Column (
You can’t perform that action at this time.
0 commit comments