BackButtonBehavior class

此枚举会决定Toast对于物理返回键的处理方式

Constructors

BackButtonBehavior(int index, String name)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

close → const BackButtonBehavior
拦截此次点击事件,并把Toast关闭
ignore → const BackButtonBehavior
拦截此次点击事件
none → const BackButtonBehavior
不做任何处理