IconPickerIcon class
The IconPickerIcon is a data-class that holds the IconData and the name of the icon It is used to display the icon in the IconPicker
or
to provide it to outisde of the IconPicker to compare it
Constructors
- IconPickerIcon({required String name, required IconData data, required IconPack pack})
-
const
Properties
- data → IconData
-
The IconData of the icon like
codePoint
,fontFamily
,fontPackage
,matchTextDirection
final - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the icon represents the
key
final - pack → IconPack
-
The IconData of the icon like
codePoint
,fontFamily
,fontPackage
,matchTextDirection
final -
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited
Methods
-
copyWith(
{String? name, IconData? data, IconPack? pack}) → IconPickerIcon -
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