OnBoard class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- OnBoard
Constructors
-
OnBoard({Key? key, required List<
OnBoardModel> onBoardData, required Widget startButton, VoidCallback? onSkip, VoidCallback? onDone, required PageController pageController, TextStyle? titleStyles, TextStyle? descriptionStyles, double? imageWidth, double? imageHeight, Widget? skipButton, Duration duration = const Duration(milliseconds: 250), Curve curve = Curves.easeInOut, bool showSkip = true, BoxDecoration? decoration, PageIndicatorStyle pageIndicatorStyle = const PageIndicatorStyle(width: 150, activeColor: Colors.blue, inactiveColor: Colors.blueAccent, activeSize: Size(12, 12), inactiveSize: Size(8, 8))}) -
const
Properties
- curve → Curve
-
Curve used for animation
@Default Curves.easeInOut
final
- decoration → BoxDecoration?
-
decoration to show decoration on the slider
final
- descriptionStyles → TextStyle?
-
Description text style
final
- duration → Duration
-
Animation Duration for transition from one page to another
@Default Duration(milliseconds:250)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageHeight → double?
-
OnBoard Image height
final
- imageWidth → double?
-
OnBoard Image width
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
onBoardData
→ List<
OnBoardModel> -
Data for OnBoard List<OnBoardModel>
@Required
final
- onDone → VoidCallback?
-
OnTapping done button action
final
- onSkip → VoidCallback?
-
OnTapping skip button action
final
- pageController → PageController
-
Controller for PageView
@Required
final
- pageIndicatorStyle → PageIndicatorStyle
-
PageIndicatorStyle dot styles
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showSkip → bool
-
showSkip to show showskip button
final
- skipButton → Widget?
-
Skip Button Widget
final
- startButton → Widget
-
start Button Widget
required startButton
final
- titleStyles → TextStyle?
-
Title text style
final
Methods
-
build(
BuildContext context, WidgetRef ref) → Widget - Describes the part of the user interface represented by this widget.
-
createElement(
) → _HookConsumerElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _ConsumerState -
Creates the mutable state for this widget at a given 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, 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