BottomRoundFlowMenu class

创建人: Created by zhaolong 创建时间:Created by on 2020/11/10.

可关注公众号:我的大前端生涯 获取最新技术分享 可关注网易云课堂:https://study.163.com/instructor/1021406098.htm 可关注博客:https://blog.csdn.net/zl18603543572 头条|西瓜视频: https://www.toutiao.com/c/user/token/MS4wLjABAAAAYMrKikomuQJ4d-cPaeBqtAK2cQY697Pv9xIyyDhtwIM/

防开源中国自定义底部菜单 流式布局 Flow 圆形菜单

Inheritance

Constructors

BottomRoundFlowMenu({required List<Icon> iconList, dynamic clickCallBack(int index)?, bool isLog = false, Color defaultBackgroundColor = Colors.grey, List<Color>? iconBackgroundColorList})

Properties

clickCallBack → (dynamic Function(int index)?)
点击事件回调
final
defaultBackgroundColor Color
所有菜单项默认使用的底色
final
hashCode int
The hash code for this object.
no setterinherited
iconBackgroundColorList List<Color>?
菜单图标背景
final
iconList List<Icon>
菜单图标
final
isLog bool
是否输出Log
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _MenuState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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