AntdResult class
@t 结果 @g 反馈 @o 68 @d 对前一步操作的结果进行反馈。 @u 当有重要操作需告知用户处理结果,且反馈内容较为复杂时使用。
- Inheritance
Constructors
-
AntdResult.new({Key? key, AntdResultStyle? style, AntdStyleBuilder<
AntdResultStyle, AntdResult> ? styleBuilder, Widget? title, Widget? desc, Widget? icon, AntdResultStatus? status = AntdResultStatus.info}) -
const
Properties
- desc → Widget?
-
描述
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget?
-
图标
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → AntdResultStatus?
-
状态类型
final
- style → AntdResultStyle?
-
样式
finalinherited
-
styleBuilder
→ AntdStyleBuilder<
AntdResultStyle, AntdResult> ? -
动态样式
finalinherited
- title → Widget?
-
标题
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
-
getColor(
AntdMapToken token) → Color -
getDefaultStyle(
BuildContext context, AntdTheme theme, AntdMapToken token) → AntdResultStyle -
override
-
getFinalStyle(
BuildContext context, AntdResultStyle style, AntdMapToken token) → AntdResultStyle -
inherited
-
getInputStyle(
BuildContext context) → AntdResultStyle? -
inherited
-
getStyle(
BuildContext context) → AntdResultStyle -
inherited
-
getStyleBuilder(
BuildContext context) → AntdStyleBuilder< AntdResultStyle, AntdResult> ? -
inherited
-
getThemeStyle(
BuildContext context, AntdTheme theme) → AntdStyleBuilder< AntdResultStyle, AntdResult> ? -
override
-
getWidget(
BuildContext context) → AntdResult -
override
-
margeStyle(
AntdResultStyle defaultStyle, AntdResultStyle? style) → AntdResultStyle -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
BuildContext context, AntdResultStyle 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