BottomActionItem class Null safety

底部(取消按钮)组件

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.
read-onlyinherited
onPressed VoidCallback?
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
title String
final
titleTextStyle TextStyle?
final

Methods

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

Operators

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