HeartToggleProps class

Properties for the heart toggle widget.

Constructors

HeartToggleProps({bool isActive = false, Color activeFillColor = const Color(0xfffe8da5), Color activeStrokeColor = const Color(0xffe75776), Color passiveFillColor = Colors.white54, Color passiveStrokeColor = Colors.grey, double size = 40, double? strokeWidth, double ballElevation = 4.0, VoidCallback? onTap, ValueChanged<bool>? onChanged, Color ballColor = Colors.white, double? heartElevation, Color heartShadowColor = Colors.grey, Color ballShadowColor = Colors.grey, Duration duration = const Duration(milliseconds: 300)})
Properties of the heart toggle widget with their default values and description.
const

Properties

activeFillColor Color
final
activeStrokeColor Color
final
ballColor Color
final
ballElevation double
final
ballShadowColor Color
final
duration Duration
final
hashCode int
The hash code for this object.
no setterinherited
heartElevation double?
final
heartShadowColor Color
final
isActive bool
final
onChanged ValueChanged<bool>?
final
onTap VoidCallback?
final
passiveFillColor Color
final
passiveStrokeColor Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
final
strokeWidth 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.
inherited