SeniorDrawerItem class

Constructors

SeniorDrawerItem({IconData? icon, required VoidCallback onTap, required String title, DrawerItemType type = DrawerItemType.neutral})
The information needed to create an item from the drawer.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
icon IconData?
An icon that will appear next to the item's title.
final
onTap VoidCallback
Callback function that will be executed when the item is tapped.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
The item's title.
final
type DrawerItemType
The item type. It can be DrawerItemType.emphasis, DrawerItemType.bold and DrawerItemType.neutral.
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