IntroCardDecoration class
The decoration for intro card.
Constructors
- IntroCardDecoration({IntroCardAlign? align, Size? size, EdgeInsets? margin, EdgeInsets? padding, Border? border, BorderRadiusGeometry? radius, Color? backgroundColor, TextStyle? textStyle, bool? showPreviousButton, bool? showNextButton, bool? showCloseButton, String? previousButtonLabel, String? nextButtonLabel, String? closeButtonLabel, bool? autoHideDisabledButtons, ButtonStyle? previousButtonStyle, ButtonStyle? nextButtonStyle, ButtonStyle? closeButtonStyle, bool? tapBarrierToContinue})
-
const
Properties
- align → IntroCardAlign?
-
Specify the alignment of intro card widget relative to highlighted widget.
final
- autoHideDisabledButtons → bool?
-
Whether to hide disabled buttons automatically.
final
- backgroundColor → Color?
-
Specify the background color of intro card.
final
- border → Border?
-
Specify the border of intro card.
final
- closeButtonLabel → String?
-
Specify the label of close button.
final
- closeButtonStyle → ButtonStyle?
-
Specify the style of close button.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- margin → EdgeInsets?
-
Specify the distance between the intro card and the highlighted widget.
final
- nextButtonLabel → String?
-
Specify the label of next button.
final
- nextButtonStyle → ButtonStyle?
-
Specify the style of next button.
final
- padding → EdgeInsets?
-
Specify the padding of contents of intro card.
final
- previousButtonLabel → String?
-
Specify the label of previous button.
final
- previousButtonStyle → ButtonStyle?
-
Specify the style of previous button.
final
- radius → BorderRadiusGeometry?
-
Specify the border radius of intro card.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showCloseButton → bool?
-
Whether to display the close button.
final
- showNextButton → bool?
-
Whether to display the next button.
final
- showPreviousButton → bool?
-
Whether to display the previous button.
final
- size → Size?
-
Specify the size of intro card.
final
- tapBarrierToContinue → bool?
-
Whether can be continue when tap the mask area.
final
- textStyle → TextStyle?
-
Specify the contents style of intro card.
final
Methods
-
mergeTo(
IntroCardDecoration? other) → IntroCardDecoration -
Returns a new decoration that is a combination of this decoration
and the given
other
decoration. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited