ChipModel class
A model class representing a chip.
This class contains properties for the chip's title and a callback function that is executed when the chip is tapped.
Constructors
- ChipModel({required String title, VoidCallback? onTap})
-
Creates a ChipModel.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onTap → VoidCallback?
-
The callback function to be executed when the chip is tapped.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
The title text of the chip.
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