CurvedSplashScreen class

Inheritance

Constructors

CurvedSplashScreen({Key key, @required int screensLength, @required Widget screenBuilder(int index), @required Function onSkipButton, Color firstGradiantColor, Color secondGradiantColor, String backText, String skipText, Color forwardColor, Color forwardIconColor, Color textColor, Color backgroundColor, Color bottomSheetColor})
const

Properties

backgroundColor Color
Color given to the backgroud of the screen, default is White.
final
backText String
Text label to the back button.
final
bottomSheetColor Color
Color of the bottom sheet this will remove the gradiant color.
final
firstGradiantColor Color
First Color of the gradiant of the bottom sheet.
final
forwardColor Color
Color given to the forward button, default is Red
final
forwardIconColor Color
Color given to the forward icon, default is White
final
hashCode int
The hash code for this object.
@nonVirtualread-onlyinherited
key Key
Controls how one widget replaces another widget in the tree.
finalinherited
onSkipButton Function
Action done when the skip button pressed or to the forward button at the end of the screens. Usually navigate to another screen.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
screenBuilder Widget Function(int index)
Widget that appears on each screen according to index
final
screensLength int
Number of screens you want to add
final
secondGradiantColor Color
Second Color of the gradiant of the bottom sheet.
final
skipText String
Text label to the skip button.
final
textColor Color
Color given to the forward back and skip text the, default is White.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _CurvedSplashScreenState
Creates the mutable state for this widget at a given location in the tree.
override
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