Answers for "snackbar using getx flutter"

1

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')),
          )
        )
      );
Posted by: Guest on September-17-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language