Flutter
material
ScaffoldState
hasDrawer property
hasDrawer
description
hasDrawer
property
Null safety
bool
hasDrawer
Whether this scaffold has a non-null
Scaffold.drawer
.
Implementation
bool get hasDrawer => widget.drawer != null;
Flutter
material
ScaffoldState
hasDrawer property
ScaffoldState class
Constructors
ScaffoldState
Properties
appBarMaxHeight
bucket
context
hasAppBar
hasDrawer
hasEndDrawer
hasFloatingActionButton
hashCode
isDrawerOpen
isEndDrawerOpen
mounted
restorationId
restorePending
runtimeType
widget
Methods
activate
build
closeDrawer
closeEndDrawer
createTicker
deactivate
debugFillProperties
didChangeDependencies
didToggleBucket
didUpdateRestorationId
didUpdateWidget
dispose
initState
noSuchMethod
openDrawer
openEndDrawer
reassemble
registerForRestoration
restoreState
setState
showBodyScrim
showBottomSheet
toDiagnosticsNode
toString
toStringShort
unregisterFromRestoration
Operators
operator ==