TopActionItem class Null safety

头部组件

title 标题 desc 描述 titleTextStyle TextStyle 标题样式 descTextStyle TextStyle 描述样式 showBottomLine 是否显示底部的横线 cancelAction 左侧取消按钮回调 doneAction 右侧完成回调

Inheritance
Annotations

Constructors

TopActionItem({required String title, String? desc, TextStyle? titleTextStyle, TextStyle? descTextStyle, bool showBottomLine = true, VoidCallback? cancelAction, ValueChanged<List<int>?>? doneAction})
const

Properties

cancelAction VoidCallback?
final
desc String?
final
descTextStyle TextStyle?
final
doneAction ValueChanged<List<int>?>?
final
hashCode int
The hash code for this object.
read-onlyinherited
onPressed VoidCallback?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
showBottomLine bool
final
title String
finalinherited
titleTextStyle TextStyle?
finalinherited

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