BottomActionItem class
底部(取消按钮)组件
title 标题
titleTextStyle 标题样式
onPressed 点击回调(默认为关闭),如果有指定回调
需要使用 Navigator.pop(context);
关闭
- Annotations
Constructors
- BottomActionItem({required String title, TextStyle? titleTextStyle, VoidCallback? onPressed})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onPressed → VoidCallback?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
final
- titleTextStyle → TextStyle?
-
final
Methods
-
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