NamedIcon class

Inheritance
Available Extensions

Constructors

NamedIcon(String name, IconData iosIcon, IconData androidIcon, [IconData? solidIosIcon, IconData? solidAndroidIcon])

Properties

circular bool
final
codePoint int
The Unicode code point at which this icon is stored in the icon font.
finalinherited
fontFamily String?
The font family from which the glyph for the codePoint will be selected.
finalinherited
fontFamilyFallback List<String>?
The ordered list of font families to fall back on when a glyph cannot be found in a higher priority font family.
finalinherited
fontPackage String?
The name of the package from which the font family is included.
finalinherited
hashCode int
The hash code for this object.
no setteroverride
icon Icon
final
iconData IconData
final
iconExists bool
no setter
matchTextDirection bool
Whether this icon should be automatically mirrored in right-to-left environments.
finalinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
final
solidData IconData
final
solidIcon Icon
final
solidIconExists bool
no setter

Methods

build({bool? circular, bool? solid, Color? color, Color? foregroundColor, double? size}) Widget
Builds as a widget
colored(Color color) NamedIcon
copyWith({String? name, IconData? iconData, IconData? solidData, bool? circular, bool? isSolid, Color? color, Color? foregroundColor, double? size}) NamedIcon
grayCircular() NamedIcon
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sized(double size) NamedIcon
solid([Color? color]) NamedIcon
toString() String
A string representation of this object.
override
white() NamedIcon

Operators

operator ==(Object other) bool
The equality operator.
override