endDrawer Widget in Flutter Last Updated : 15 Jul, 2025 Comments Improve Suggest changes 8 Likes Like Report The endDrawer is the panel displayed to the side of the body (Scaffold Widget). It is generally hidden in mobile devices. We can open it by swiping in from right to left, or we can customise it to open on-press of an icon or a button. This widget is similar to the already present Drawer widget in flutter except for the fact the Drawer by default open from left-to-right and the endDrawer by default opens from right-to-left. However, this direction can be changed by using textDirection property. Constructor of Drawer class: Drawer({Key key, double elevation, Widget child, String semanticLabel})Properties of endDrawer :child: This property takes in a widget as a parameter to show below endDrawer widget in the tree.hashCode: This property takes an int as the parameter. The hash code represents the state of the object that effects operator== comparison.elevation: This property takes in a double value as a parameter to control the z-coordinate at which to place this drawer relative to its parent.semanticLabel: This property takes in a string value a the parameter to create the semantic label of the dialog used by accessibility frameworks to announce screen transitions when the drawer is opened and closed.Implementation with Example: main.dart Dart import 'package:flutter/material.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { // This widget is the // root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, ), home: MyHomePage(), debugShowCheckedModeBanner: false, ); } } class MyHomePage extends StatefulWidget { @override _MyHomePageState createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title:Text("GeeksforGeeks") , backgroundColor: Colors.green, ), endDrawer: Drawer( child: ListView.builder( itemBuilder: ( BuildContext context,int index){ return ListTile( leading:Icon(Icons.list), title: Text("GFG item $index"), trailing: Icon(Icons.done), ); }), //elevation: 20.0, //semanticLabel: 'endDrawer', ), ); } } Explanation:We create a Scaffold that contains an AppBar and Drawer.Let's add the endDrawer in our app. Child of Drawer is ListView.builder to build the list of items.Create a List of items as shown above in the code.Run the app and see the output. Output: Create Quiz Comment S singh_teekam Follow 8 Improve S singh_teekam Follow 8 Improve Article Tags : Dart Flutter Explore BasicsIntroduction to Dart Programming Language 4 min read Dart SDK Installation 4 min read Dart - Comments 2 min read Dart - Variables 5 min read Operators in Dart 11 min read Dart - Standard Input Output 3 min read Data TypesDart - Data Types 8 min read Basics of Numbers in Dart 6 min read Strings in Dart 6 min read Dart - Sets 6 min read Dart Programming - Map 7 min read Queues in Dart 3 min read Data Enumeration in Dart 3 min read Control FlowDart Programming - If Else Statement (if , if..else, Nested if, if-else-if) 4 min read Switch Case in Dart 2 min read Dart - Loops 4 min read Dart - Loop Control Statements (Break and Continue) 4 min read Labels in Dart 2 min read Key FunctionsDart - Functions 4 min read Different Types of Functions in Dart 4 min read Dart - Anonymous Functions 2 min read Dart - main() Function 2 min read Dart - Common Collection Methods 2 min read How to Exit a Dart Application Unconditionally? 2 min read Dart - Getters and Setters 3 min read Object-Oriented ProgrammingDart - Classes And Objects 4 min read Constructors in Dart 5 min read Super Constructor in Dart 2 min read Dart - this keyword 2 min read Dart - Static Keyword 3 min read Dart - Super and This keyword 4 min read Dart - Concept of Inheritance 5 min read Instance and class methods in Dart 3 min read Method Overriding in Dart 3 min read Getter and Setter Methods in Dart 2 min read Abstract Classes in Dart 4 min read Dart - Builder Class 4 min read Concept of Callable Classes in Dart 4 min read Interface in Dart 3 min read Dart - extends Vs with Vs implements 4 min read Dart UtilitiesDart - Date and Time 3 min read Using await async in Dart 4 min read Dart - Type System 3 min read Generators in Dart 2 min read Dart ProgramsHow to Combine Lists in Dart? 3 min read Dart - Finding Minimum and Maximum Value in a List 5 min read Dart - Splitting of String 1 min read How to Append or Concatenate Strings in Dart? 2 min read How to Find the Length of a String in Dart? 1 min read Dart - Sort a List 2 min read Dart - String toUpperCase() Function with Examples 1 min read Dart - Convert All Characters of a String in Lowercase 1 min read How to Replace a Substring of a String in Dart? 2 min read How to Check String is Empty or Not in Dart (Null Safety)? 1 min read Advance ConceptsException Handling in Dart 3 min read Assert Statements in Dart 3 min read Fallthrough Condition in Dart 3 min read Concept of Isolates in Dart 2 min read Typedef in Dart 3 min read Dart - URIs 2 min read Dart - Collections 7 min read Dart - Basics of Packages 2 min read Dart - String codeUnits Property 1 min read HTML Document Object Model and Dart Programming 3 min read Like