Created
March 8, 2023 08:18
-
-
Save cavin-macwan/8870fd8ab59857344fb5919c5c7a9f2f to your computer and use it in GitHub Desktop.
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( | |
| body: Center( | |
| child: Text(id.toString()), | |
| ), | |
| ); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment