SvgIconData class
Represents the svg icon data to be shown in SvgIcon widget
- Implementers
Constructors
- SvgIconData(String name, {String? package, String? prefix, bool? reflectable, bool? reflected, SvgColorSource colorSource = SvgColorSource.iconThemeColor})
-
Create an instance of SvgIconData
const
Properties
- colorSource → SvgColorSource
-
Set the color source of this svg
final
- fullPath → String
-
Get the full path of this icon svg file
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The asset file name, (without .svg)
final
- package → String?
-
The asset package
final
- prefix → String?
-
The asset prefix
final
- reflectable → bool?
-
Weather the icon is following the build context text direction
final
- reflected → bool?
-
Weather to reflect this svg icon
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{bool? reflectable, bool? reflected}) → SvgIconData - Create another instance of SvgIconData with specified configurations.
-
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