AtomicIconListItemModel class
Constructors
- AtomicIconListItemModel.new({required String title, String? subtitle, IconData? icon, Color iconColor = AtomicColors.gray500, Color textColor = AtomicColors.textPrimary, Color subTextColor = AtomicColors.textSecondary, VoidCallback? onTap, bool enabled = true})
-
const
-
AtomicIconListItemModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- enabled → bool
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- icon → IconData?
-
final
- iconColor → Color
-
final
- onTap → VoidCallback?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subTextColor → Color
-
final
- subtitle → String?
-
final
- textColor → Color
-
final
- title → String
-
final
Methods
-
copyWith(
{String? title, String? subtitle, IconData? icon, Color? iconColor, Color? textColor, Color? subTextColor, VoidCallback? onTap, bool? enabled}) → AtomicIconListItemModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override