Flutter: Displaying SnackBar Using GlobalKey
Learn how to display a SnackBar in Flutter using a GlobalKey. This tutorial covers creating an app with two tabs and constructing a GlobalKey to manage the SnackBar.
🔥 Related Trending Topics
LIVE TRENDSThis video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!
THIS VIDEO IS TRENDING!
This video is currently trending in Bangladesh under the topic 's'.
About this video
In this video I cover displaying the snack bar using the global key.
In this episode I cover:
- Create an app with two tabs
- Construct a GlobalKey for the Page Scaffold
- Pass the GlobalKey to the tabs widgets
- On change in tab will show the Snackbar
Source code used in this episode:
https://gist.github.com/branflake2267/7bf49fc232743d0cacfb90e8aa71467d
Video Information
Views
8.4K
Total views since publication
Likes
122
User likes and reactions
Duration
12:19
Video length
Published
Mar 31, 2018
Release date
Quality
hd
Video definition
About the Channel
Tags and Topics
This video is tagged with the following topics. Click any tag to explore more related content and discover similar videos:
#fluttersdk #flutterio #flutterdev #android development #ios development #mobile development #material design
Tags help categorize content and make it easier to find related videos. Browse our collection to discover more content in these categories.