Closed NTMS2017 closed 3 years ago
How can I correct this? I am using flutter sdk stable 2.0.2. Thanks for great tutorial.
error: The named parameter 'child' isn't defined. (undefined_named_parameter at [movieapp] lib/presentation/journeys/drawer/navigation_drawer.dart:100)
void _showDialog(BuildContext context) { showDialog( context: context, child: AppDialog( title: TranslationConstants.about, description: TranslationConstants.aboutDescription, buttonText: TranslationConstants.okay, image: Image.asset( 'assets/pngs/tmdb_logo.png', height: Sizes.dimen_32.h, ), ), ); }
showDialog uses builder now, not child.
How can I correct this? I am using flutter sdk stable 2.0.2. Thanks for great tutorial.
error: The named parameter 'child' isn't defined. (undefined_named_parameter at [movieapp] lib/presentation/journeys/drawer/navigation_drawer.dart:100)