AnimatedFloatingButton class

Inheritance

Constructors

AnimatedFloatingButton({Key? key, required List<FloatingButtonProps> childrenProps, EdgeInsetsGeometry? padding, ShapeBorder? shape, Color? mainButtonColor, bool isDismissible = false, Color? shadowColor, TextDirection direction = TextDirection.rtl, TextStyle? labelStyle, Duration duration = const Duration(milliseconds: 250), Widget? openIcon = const Icon(Icons.add, color: Colors.white), Widget? closeIcon = const Icon(Icons.close, color: Colors.white)})
const

Properties

childrenProps List<FloatingButtonProps>
list of FloatingButtonProps.
final
closeIcon Widget?
this icon shown when main floatingActionButton is opened such as (Icons.close)
final
direction TextDirection
set direction for icons and labels using. TextDirection.rtl or TextDirection.ltr
final
duration Duration
shadowCurve: shadow showing animation. buttonsCurve: floating buttons showing animation. duration: animation duration Duration
final
hashCode int
The hash code for this object.
no setterinherited
isDismissible bool
if true: dismiss shadow and button list when user click on empty area. if false: click on empty area will do nothing.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
labelStyle TextStyle?
labelStyle: label text style TextStyle.
final
mainButtonColor Color?
main floatingActionButton backgroundColor.
final
openIcon Widget?
this icon shown when main floatingActionButton is closed such as (Icons.add)
final
padding EdgeInsetsGeometry?
main floatingActionButton padding
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color?
shadowColor: empty area background color.
final
shape ShapeBorder?
floatingActionButton shape such as (CircleBorder,RoundedRectangleBorder, ContinuousRectangleBorder, BeveledRectangleBorder).
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