AntdDivider class

@t 分割线 @g 布局 @o 97 @d 区隔内容的分割线。 @u 对不同章节的文本段落进行分割,,对行内文字/链接进行分割,例如表格的操作列

Inheritance

Constructors

AntdDivider.new({Key? key, AntdColor? color, Widget? child, bool vertical = false, AntdDividerPosition? position, AntdDividerStyle? style, AntdStyleBuilder<AntdDividerStyle, AntdDivider>? styleBuilder})
const

Properties

child Widget?
内容
final
color AntdColor?
线的颜色
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
position AntdDividerPosition?
文字位置
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style AntdDividerStyle?
样式
finalinherited
styleBuilder AntdStyleBuilder<AntdDividerStyle, AntdDivider>?
动态样式
finalinherited
vertical bool
垂直还是水平
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
inherited
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
getBodyStyle(AntdDividerStyle style, AntdMapToken token) AntdBoxStyle
getDefaultStyle(BuildContext context, AntdTheme theme, AntdMapToken token) AntdDividerStyle
override
getFinalStyle(BuildContext context, AntdDividerStyle style, AntdMapToken token) AntdDividerStyle
inherited
getInputStyle(BuildContext context) AntdDividerStyle?
inherited
getStyle(BuildContext context) AntdDividerStyle
inherited
getStyleBuilder(BuildContext context) AntdStyleBuilder<AntdDividerStyle, AntdDivider>?
inherited
getThemeStyle(BuildContext context, AntdTheme theme) AntdStyleBuilder<AntdDividerStyle, AntdDivider>?
override
getWidget(BuildContext context) AntdDivider
override
margeStyle(AntdDividerStyle defaultStyle, AntdDividerStyle? style) AntdDividerStyle
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(BuildContext context, AntdDividerStyle style) Widget
override
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