FButton class
Fidooo Button Widget
- Inheritance
Constructors
-
FButton({Key? key, VoidCallback? onPressed, FColorI? enabledColor, FColorI? disabledColor, FColorI? hoveredColor, FColorI? pressedColor, FColorI? enabledIconColor, FColorI? hoveredIconColor, FColorI? disabledIconColor, FColorI? pressedIconColor, FColorI? enabledTextColor, FColorI? hoveredTextColor, FColorI? disabledTextColor, FColorI? pressedTextColor, FIconType? icon, String? buttonText, FTypographyType fTextTypographyType = FTypographyType.bodyLarge, double? width, double height = 40, BorderRadius? borderRadius, List<
BoxShadow> ? enabledBoxShadows, List<BoxShadow> ? hoveredBoxShadows, List<BoxShadow> ? disabledBoxShadows, List<BoxShadow> ? pressedBoxShadows, double? spacingBetweenIconAndText, EdgeInsets? padding, BoxFit? boxFit, TextOverflow textOverflow = TextOverflow.ellipsis, required FButtonType buttonType}) -
const
Properties
- borderRadius → BorderRadius?
-
final
- boxFit → BoxFit?
-
final
-
final
-
final
-
disabledBoxShadows
→ List<
BoxShadow> ? -
final
- disabledColor → FColorI?
-
final
- disabledIconColor → FColorI?
-
final
- disabledTextColor → FColorI?
-
final
-
enabledBoxShadows
→ List<
BoxShadow> ? -
final
- enabledColor → FColorI?
-
final
- enabledIconColor → FColorI?
-
final
- enabledTextColor → FColorI?
-
final
- fTextTypographyType → FTypographyType
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
final
-
hoveredBoxShadows
→ List<
BoxShadow> ? -
final
- hoveredColor → FColorI?
-
final
- hoveredIconColor → FColorI?
-
final
- hoveredTextColor → FColorI?
-
final
- icon → FIconType?
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onPressed → VoidCallback?
-
final
- padding → EdgeInsets?
-
final
-
pressedBoxShadows
→ List<
BoxShadow> ? -
final
- pressedColor → FColorI?
-
final
- pressedIconColor → FColorI?
-
final
- pressedTextColor → FColorI?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spacingBetweenIconAndText → double?
-
final
- textOverflow → TextOverflow
-
final
- width → double?
-
final
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