AntdTitle class

Inheritance

Constructors

AntdTitle(String title, {Key? key, bool? code, bool? copyable, bool? delete, bool? disabled, bool? editable, bool? ellipsis, bool? mark, bool? italic, bool? underline, AntdTypofraphyType? type, VoidCallback? onClick, AntdTitleLevel? level = AntdTitleLevel.h1, int? maxLines = 9999})
const

Properties

code bool?
是否添加代码样式
final
copyable bool?
是否可以复制
final
delete bool?
是否添加删除样式
final
disabled bool?
是否添加禁用样式
final
editable bool?
是否可编辑,未实现
final
ellipsis bool?
是否自动溢出省略
final
hashCode int
The hash code for this object.
no setterinherited
italic bool?
是否斜体
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
level AntdTitleLevel?
标题等级,默认:h1
final
mark bool?
是否添加键盘样式 是否添加标记样式
final
maxLines int?
最多支持行数, 默认:9999
final
onClick VoidCallback?
点击方法
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
文本内容
final
type AntdTypofraphyType?
文本类型
final
underline bool?
是否添加下换线
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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