OnBoard class Null safety

Inheritance

Constructors

OnBoard({Key? key, required List<OnBoardModel> onBoardData, VoidCallback? onSkip, VoidCallback? onDone, required PageController pageController, TextStyle? titleStyles, TextStyle? descriptionStyles, double? imageWidth, double? imageHeight, Widget? skipButton, Widget? nextButton, Duration duration = const Duration(milliseconds: 250), Curve curve = Curves.easeInOut, 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
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.
@nonVirtualread-onlyinherited
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
nextButton Widget?
Next Button Widget
final
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.
read-onlyinherited
skipButton Widget?
Skip Button Widget
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.
override
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.
@protectedinherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
@nonVirtualinherited