BrnTipInfoWidget class
默认的引导组件包含,强和弱两种交互模式
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- BrnTipInfoWidget
- Available Extensions
Constructors
- BrnTipInfoWidget({Key? key, void onClose()?, void onNext()?, void onSkip()?, required double width, double? height, int currentStepIndex = 0, required int stepCount, required BrnTipInfoBean info, GuideMode mode = GuideMode.force, required GuideDirection direction, double? arrowPadding, String? nextTip})
-
const
Properties
- arrowPadding → double?
-
箭头距离指示的边距
final
- currentStepIndex → int
-
当前的引导步数
final
- direction → GuideDirection
-
引导组件的方向
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
引导组件的高度
final
- info → BrnTipInfoBean
-
引导组件的内容
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- mode → GuideMode
-
引导模式
final
- nextTip → String?
-
【下一步】的文案
final
- onClose → (void Function()?)
-
关闭按钮的回调
final
- onNext → (void Function()?)
-
下一步按钮的回调
final
- onSkip → (void Function()?)
-
跳过按钮的回调
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stepCount → int
-
引导步数
final
- width → double
-
引导组件的宽度
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
buildImage(
) → Widget -
buildMessage(
) → Widget -
buildTitle(
) → Widget -
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}) → 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