FCCElevatedButton class

Inheritance

Constructors

FCCElevatedButton({Key? key, Widget? child, String? text, double? fontSize, FontWeight? fontWeight, String? fontFamily, Color? textColor, TextStyle? textStyle, TextAlign textAlign = TextAlign.center, Widget? prefix, Widget? suffix, VoidCallback? onPressed, VoidCallback? onLongPress, bool isEnabled = true, bool use3DEffect = true, bool forceSolidGradient = false, bool isLoading = false, bool enableTapEffect = true, bool hapticFeedback = true, bool isPill = false, double borderRadius = 12.0, double elevation = 6.0, double? height, double? width, Gradient? gradient, List<BoxShadow>? boxShadow, FCCGradientStyle? gradientStyle, Color? backgroundColor, Color? disabledColor, Widget? disabledChild, String? loadingText, TextStyle? loadingTextStyle, Color? loadingColor, String? tooltip, String? semanticLabel, bool excludeSemantics = false, bool bounceOnTap = true, bool rippleOnly = false, bool shimmerOnHover = false, Duration animationDuration = const Duration(milliseconds: 100)})
const

Properties

animationDuration Duration
final
backgroundColor Color?
final
borderRadius double
final
bounceOnTap bool
final
boxShadow List<BoxShadow>?
final
child Widget?
final
disabledChild Widget?
final
disabledColor Color?
final
elevation double
final
enableTapEffect bool
final
excludeSemantics bool
final
fontFamily String?
final
fontSize double?
final
fontWeight FontWeight?
final
forceSolidGradient bool
final
gradient Gradient?
final
gradientStyle FCCGradientStyle?
final
hapticFeedback bool
final
hashCode int
The hash code for this object.
no setterinherited
height double?
final
isEnabled bool
final
isLoading bool
final
isPill bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
loadingColor Color?
final
loadingText String?
final
loadingTextStyle TextStyle?
final
onLongPress VoidCallback?
final
onPressed VoidCallback?
final
prefix Widget?
final
rippleOnly bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semanticLabel String?
final
shimmerOnHover bool
final
suffix Widget?
final
text String?
final
textAlign TextAlign
final
textColor Color?
final
textStyle TextStyle?
final
tooltip String?
final
use3DEffect bool
final
width double?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<FCCElevatedButton>
Creates the mutable state for this widget at a given location in the tree.
override
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