BackButtonBehavior class
此枚举会决定Toast对于物理返回键的处理方式
Constructors
- BackButtonBehavior.new(int index, String name)
-
const
Properties
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
- 不做任何处理