Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter get global context

 @override
    Widget build(BuildContext context) {
      return MaterialApp(
        navigatorKey: App.materialKey, // GlobalKey()
      )
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flutter #global #context
ADD COMMENT
Topic
Name
1+8 =