This website or its third-party tools use cookies which are necessary to its functioning and required to improve your experience. By clicking the consent button, you agree to allow the site to use, collect and/or store cookies.
Please click the consent button to view this website.
I accept
Deny cookies Go Back

Mobile app tutorials

  • Home
  • About
  • Contact
  • Login
You are here: Home / flutter images / Flutter Drawer

December 13, 2017 by nigel

Flutter Drawer




The flutter drawer development tutorial describes how to add a drawer to a flutter application.

flutter drawer

The scaffold widget provides a drawer property. This will be used to provide a list of tiles.

This flutter development tutorial follows on from the popup menu flutter tutorial.

Pre-requisites

Knowledge of the dart programming language is not required, but the experience of an object orientated programming language is recommended. Such as Java, C++, Kotlin, Swift to name a few.

Introduction

In this flutter development tutorial we will cover:

  • Creating a drawer widget
  • Utilizing the Scaffold drawer property
  • Providing interactivity to the drawer
  • How to close the drawer

Episodes

  1. Image Download
  2. Popup Menu
  3. Drawer
  4. BottomNavigationBar
  5. TabBar
To get access to the source code and code descriptions please fill out the form below to complete your free membership:
An account with your username and/or email address has been created. Log in here to access your products or complete a purchase. [Note: an account will be created even if your initial transaction failed at checkout. If this happened to you, simply log in and attempt your transaction again.]







Conclusion

In this flutter development tutorial, we described how to add a drawer to a flutter application.

Conveniently the scaffold widget provides a drawer property. Which will be used to provide the drawer widget to.

A constructor is used to create the drawer widget. With a ListView of ListTile supplied.

To add interactivity to the drawer, the onTap property is implemented in the ListTiles. As well the loading the specify Stateless widget, the close drawer is also called.

In the following flutter development tutorial, we will describe how to use the BottomNavigationBar to navigate between images.

Print Friendly

Filed Under: flutter images

  • Facebook
  • Google+
  • Twitter
  • YouTube




Recent Forum Topics

  • Kotlin Fragments
  • Kotlin Camera2 API
  • HTTP Image Libraries

Recent Posts

  • Installing and running flutter
  • Kotlin Camera2 API MediaRecorder
  • Flutter IntelliJ Tips for Beginners
  • Migrating Fragments to Jetpack Navigation
  • Flutter TabBar

Recent Posts

  • Installing and running flutter
  • Kotlin Camera2 API MediaRecorder
  • Flutter IntelliJ Tips for Beginners
  • Migrating Fragments to Jetpack Navigation
  • Flutter TabBar

Search Form

  • Facebook
  • GitHub
  • Google+
  • Twitter
  • YouTube

© 2022 - WWW.MOBAPPTUTS.COM