SkipConfig class
Configuration for the "Skip" button in the Features Tour.
Constructors
- SkipConfig({Widget builder(BuildContext context, VoidCallback onPressed)?, String? text, Alignment? alignment, Color? color, bool? enabled, TextStyle? textStyle, ButtonStyle? buttonStyle})
-
Creates a new
SkipConfigbased on the provided global values.factory
Properties
- alignment → Alignment
-
The alignment of the button within its parent widget.
finalinherited
- builder → Widget Function(BuildContext context, VoidCallback onPressed)?
-
A builder function that provides a context and an
onPressedcallback to create a custom button widget.finalinherited -
The ButtonStyle applied to the button.
finalinherited
- color → Color?
-
The color of the button text. For more customization, use
textStyle.finalinherited - enabled → bool
-
Determines whether the button is enabled or disabled.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
The base text displayed on the button.
finalinherited
- textStyle → TextStyle?
-
The text style of the button text. This overrides the default styling.
finalinherited
Methods
-
copyWith(
{Widget builder(BuildContext context, VoidCallback onPressed)?, String? text, Alignment? alignment, Color? color, bool? enabled, TextStyle? textStyle, ButtonStyle? buttonStyle}) → SkipConfig - Creates a new SkipConfig based on these values.
-
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
Static Properties
- global ↔ SkipConfig
-
Global configuration.
getter/setter pair