Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter getx snackbar

GetMaterialApp( 
        home: Scaffold(
          appBar: AppBar(title: Text('Snackbar')),
          body: Center(
              child: ElevatedButton(
                  onPressed: () {
                    Get.snackbar('snackbar title','snackbar message');
                  },
                  child: Text('Button')),
          )
        )
      );
 
PREVIOUS NEXT
Tagged: #flutter #getx #snackbar
ADD COMMENT
Topic
Name
1+3 =