DrawerChildBuilderDelegate class
简单实现
- Inheritance
-
- Object
- DrawerDelegate
- DrawerChildBuilderDelegate
Constructors
- DrawerChildBuilderDelegate({bool enable = false, required int childCount, required IndexedWidgetBuilder builder, DrawerHeader? header})
-
const
Properties
- builder → IndexedWidgetBuilder
-
Item创建
final
- childCount → int
-
列表数量
final
- enable → bool
-
是否开启头部
final
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → DrawerHeader?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
底部控件
override
-
buildHeader(
) → DrawerHeader? -
定制头部
override
-
buildList(
BuildContext context) → List< Widget> -
构建菜单列表
override
-
enableHeader(
) → bool -
是否显示头部定制区域
override
-
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