DrawerItem class

A model of drawer item.

The data provided in the model is used to create a ListTile widget, which represents the drawer list item.

Constructors

DrawerItem({Widget? leading, String? title})
Creates an instance of DrawerItem.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
leading Widget?
A leading widget in the drawer item.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
An item's title.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited