CoolStepperConfig class
Constructors
-
CoolStepperConfig({Widget? nextButton, Widget? backButton, Widget? finishButton, String backText = 'PREV', String nextText = 'NEXT', String stepText = 'STEP', String ofText = 'OF', TextStyle stepOfTextStyle = const TextStyle(fontWeight: FontWeight.bold), Color headerColor = const Color(0xffbdbdbd), Color stepColor = Colors.transparent, Icon icon = const Icon(Icons.help_outline, size: 18, color: Color(0x61000000)), TextStyle titleTextStyle = const TextStyle(fontSize: 16.0, fontWeight: FontWeight.bold, color: Color(0x61000000)), TextStyle subtitleTextStyle = const TextStyle(fontSize: 14.0, fontWeight: FontWeight.w600, color: Color(0xFF000000)), List<
String> ? backTextList, List<String> ? nextTextList, String finalText = 'FINISH', TextStyle nextTextStyle = const TextStyle(color: Colors.green), TextStyle backTextStyle = const TextStyle(color: Colors.grey)}) -
const
Properties
- backButton → Widget?
-
backButton Replaces the back default button
default
if null it will use custom designfinal - backText → String
-
backText Changes the text that should be displayed for the back button
final
-
backTextList
→ List<
String> ? -
backTextList Contains a list of string that when supplied will override backText
final
- backTextStyle → TextStyle
-
backTextStyle Changes the text style for the back button
final
- finalText → String
-
The text that should be displayed for the next button on the final step
final
- finishButton → Widget?
-
nextButton Replaces the next default button
default
if null it will use custom designfinal - hashCode → int
-
The hash code for this object.
no setterinherited
- headerColor → Color
-
This is the background color of the header
final
- icon → Icon
-
This icon replaces the default icon
final
- nextButton → Widget?
-
nextButton Replaces the next default button
default
if null it will use custom designfinal - nextText → String
-
nextText Changes the text that should be displayed for the next button
final
-
nextTextList
→ List<
String> ? -
nextTextList Contains a List of string that when supplied will override nextText
final
- nextTextStyle → TextStyle
-
nextTextStyle Changes the text style for the next button
final
- ofText → String
-
The text that describes the progress
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stepColor → Color
-
stepColor will set the background color of the content,
it is used when you want round corners
final
- stepOfTextStyle → TextStyle
-
stepOfTextStyle Changes the text style for the step x of x text
final
- stepText → String
-
stepText Changes The text that describes the progress
final
- subtitleTextStyle → TextStyle
-
This is the textStyle for the subtitle text
final
- titleTextStyle → TextStyle
-
This is the textStyle for the title text
final
Methods
-
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