WOISwitchStyleModel class

If you want to explore the full extent of the WOISwitchButton then we have the active and inactive states for the swtich as well which you can change using the following model by providing the value for the activeSwitchStyle and inActiveSwitchStyle fields while both of them accepts the WOISwitchStyleModel type value which is a custom model for styling of the widget

Constructors

WOISwitchStyleModel({double thumbSize = 25, Icon? icon, Border? thumbBorder, Color? thumbColor, Border? trackBorder, Color? trackColor})

Properties

hashCode int
The hash code for this object.
no setterinherited
icon Icon?
To provide a icon in the center for the thumb
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbBorder Border?
To change and customize the border for the thumb
final
thumbColor Color?
To change the color for the thumb
final
thumbSize double
To change the size of the thumb initially that will be set to 25 for both states
final
trackBorder Border?
To change and customize the border for the track
final
trackColor Color?
To change the color for the track
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