NeumorphismCheckboxStyle class
A Style used to customize a NeumorphismCheckbox
selectedDepth : the depth when checked unselectedDepth : the depth when unchecked (default : theme.depth) selectedColor : the color when checked (default: theme.accent)
Constructors
- NeumorphismCheckboxStyle({double? selectedDepth, NeumorphismBorder border = const NeumorphismBorder.none(), Color? selectedColor, double? unselectedDepth, bool? disableDepth, LightSource? lightSource, Color? disabledColor, NeumorphismBoxShape? boxShape, double? selectedIntensity = 1, double unselectedIntensity = 0.7})
-
const
Properties
- border → NeumorphismBorder
-
final
- boxShape → NeumorphismBoxShape?
-
final
- disabledColor → Color?
-
final
- disableDepth → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- lightSource → LightSource?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedColor → Color?
-
final
- selectedDepth → double?
-
final
- selectedIntensity → double?
-
final
- unselectedDepth → double?
-
final
- unselectedIntensity → double
-
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.
override