ResponsiveSvgIconData class
Represents a svg icon data, with several asset files to shown according to the allowed size.
- Inheritance
-
- Object
- SvgIconData
- ResponsiveSvgIconData
Constructors
-
ResponsiveSvgIconData(Map<
double, String> assetPaths, {String? package, bool? reflectable, bool? reflected, SvgColorSource colorSource = SvgColorSource.iconThemeColor}) -
Create an instance of ResponsiveSvgIconData
const
Properties
-
assetPaths
→ Map<
double, String> -
Represesnts the multiple variations.
final
- colorSource → SvgColorSource
-
Set the color source of this svg
finalinherited
- fullPath → String
-
Get the full path of this icon svg file
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The asset file name, (without .svg)
finalinherited
- package → String?
-
The asset package
finalinherited
- prefix → String?
-
The asset prefix
finalinherited
- reflectable → bool?
-
Weather the icon is following the build context text direction
finalinherited
- reflected → bool?
-
Weather to reflect this svg icon
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{bool? reflectable, bool? reflected, SvgColorSource? colorSource}) → ResponsiveSvgIconData -
Create another instance of ResponsiveSvgIconData with specified configurations.
override
-
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