TutorialConfig class
Configuration for the tutorial guide overlay.
Customize the appearance and content of the tutorial that shows users how to use the dictionary feature.
Constructors
- TutorialConfig({String? title, String? description, Color? tooltipColor, TextStyle? titleStyle, TextStyle? descriptionStyle, double paddingEdge = 10.0, double radius = 8.0, String skipText = 'SKIP', String nextText = 'NEXT', String finishText = 'GOT IT'})
-
Creates a TutorialConfig instance with default values.
const
Properties
- description → String?
-
Description shown in the tutorial tooltip.
final
- descriptionStyle → TextStyle?
-
Text style for the description.
final
- finishText → String
-
Text for the finish button.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- nextText → String
-
Text for the next button.
final
- paddingEdge → double
-
Padding around the highlighted area.
final
- radius → double
-
Border radius of the highlighted area.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skipText → String
-
Text for the skip button.
final
- title → String?
-
Title of the tutorial tooltip.
final
- titleStyle → TextStyle?
-
Text style for the title.
final
- tooltipColor → Color?
-
Background color of the tooltip.
final
Methods
-
copyWith(
{String? title, String? description, Color? tooltipColor, TextStyle? titleStyle, TextStyle? descriptionStyle, double? paddingEdge, double? radius, String? skipText, String? nextText, String? finishText}) → TutorialConfig - Creates a copy of this config with the given fields replaced.
-
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