FIcon class

Inheritance
Implemented types

Constructors

FIcon(FIconType type, {Key? key, double? width, double? height, FColorI fColor = FColor.lightBlack, BoxFit fit = BoxFit.contain, AlignmentGeometry alignment = Alignment.center, String package = 'fidooo_design_system', SvgTheme theme = const SvgTheme(), String? semanticsLabel, bool allowDrawingOutsideViewBox = false, bool matchTextDirection = false, Clip clipBehavior = Clip.hardEdge, bool excludeFromSemantics = false, AssetBundle? bundle, WidgetBuilder? placeholderBuilder})
Fidooo Icon Widget

Properties

alignment AlignmentGeometry
How to align the picture within its parent widget.
no setteroverride
allowDrawingOutsideViewBox bool
If true, will allow the SVG to be drawn outside of the clip boundary of its viewBox.
no setteroverride
bytesLoader → BytesLoader
The BytesLoader used to resolve the SVG.
no setteroverride
clipBehavior Clip
The content will be clipped (or not) according to this option.
no setteroverride
colorFilter ColorFilter?
The color filter, if any, to apply to this widget.
no setteroverride
excludeFromSemantics bool
Whether to exclude this picture from semantics.
no setteroverride
fColor FColorI
final
fit BoxFit
How to inscribe the picture into the space allocated during layout. The default is BoxFit.contain.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
height double?
If specified, the height to use for the SVG. If unspecified, the SVG will take the height of its parent.
no setteroverride
key Key?
Controls how one widget replaces another widget in the tree.
no setteroverride
matchTextDirection bool
If true, will horizontally flip the picture in TextDirection.rtl contexts.
no setteroverride
placeholderBuilder WidgetBuilder?
The placeholder to use while fetching, decoding, and parsing the SVG data.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semanticsLabel String?
The Semantics.label for this picture.
no setteroverride
width double?
If specified, the width to use for the SVG. If unspecified, the SVG will take the width of its parent.
no setteroverride

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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