We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9937c13 commit 22c7c8fCopy full SHA for 22c7c8f
1 file changed
lib/src/features/book_detail/views/book_detail_page.dart
@@ -82,7 +82,10 @@ class _BookDetailPageState extends State<BookDetailPage> {
82
);
83
}
84
85
- void _handleBookDetailsStateListener(context, state) {
+ void _handleBookDetailsStateListener(
86
+ BuildContext context,
87
+ BookDetailState state,
88
+ ) {
89
switch (state) {
90
case BookDetailLoadingState():
91
// Avoid the click on ElevatedButton.
0 commit comments