This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp( | |
| const MaterialApp( | |
| home: GlowingActionButton(color:Colors.green,icon:Icons.send), | |
| ), | |
| ); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp( | |
| const MaterialApp( | |
| home: PageStatic(), | |
| ), | |
| ); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @AutoRouterConfig(replaceInRouteName: 'Page,Route') | |
| class AppRouter extends $AppRouter { | |
| @override | |
| RouteType get defaultRouteType => const RouteType.material(); | |
| @override | |
| final List<AutoRoute> routes = [ | |
| AutoRoute( | |
| page: HomeRoute.page, | |
| path: '/', | |
| ), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class BookListPage extends StatelessWidget { | |
| const BookListPage({ | |
| super.key, | |
| @PathParam('id') required this.id, | |
| }); | |
| final int id; | |
| @override | |
| Widget build(BuildContext context) { | |
| return Scaffold( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class BookListPage extends StatelessWidget { | |
| const BookListPage({ | |
| super.key, | |
| @QueryParam() this.isNameShow = false, | |
| }); | |
| final bool? isNameShow; | |
| @override | |
| Widget build(BuildContext context) { | |
| return Scaffold( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @AutoRouterConfig(replaceInRouteName: 'Page,Route') | |
| class AppRouter extends $AppRouter { | |
| @override | |
| RouteType get defaultRouteType => const RouteType.material(); | |
| @override | |
| final List<AutoRoute> routes: <AutoRoute>[ | |
| AutoRoute( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @AutoRouterConfig(replaceInRouteName: 'Page,Route') | |
| class AppRouter extends $AppRouter { | |
| @override | |
| RouteType get defaultRouteType => const RouteType.material(); | |
| @override | |
| final List<AutoRoute> routes: <AutoRoute>[ | |
| AutoRoute( | |
| page: HomePage, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @AutoRouterConfig(replaceInRouteName: 'Page,Route') | |
| class AppRouter extends $AppRouter { | |
| @override | |
| RouteType get defaultRouteType => const RouteType.material(); | |
| @override | |
| final List<AutoRoute> routes = [ | |
| AutoRoute( | |
| page: HomeRoute.page, | |
| path: '/', | |
| ), |
OlderNewer