ResponsiveFloatingActionButton class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- FloatingActionButton
- ResponsiveFloatingActionButton
Constructors
- ResponsiveFloatingActionButton({Key? key, Widget? child, String? tooltip, Color? foregroundColor, Color? backgroundColor, Color? focusColor, Color? hoverColor, Color? splashColor, Object? heroTag, double? elevation, double? focusElevation, double? hoverElevation, double? highlightElevation, double? disabledElevation, required VoidCallback onPressed, ShapeBorder? shape, Clip clipBehavior = Clip.none, FocusNode? focusNode, bool autofocus = false, MaterialTapTargetSize? materialTapTargetSize, bool isExtended = false})
Properties
- autofocus → bool
-
True if this widget will be selected as the initial focus when no other
node in its scope is currently focused.
finalinherited
- backgroundColor → Color?
-
The button's background color.
finalinherited
- child → Widget?
-
The widget below this widget in the tree.
finalinherited
- clipBehavior → Clip
-
The content will be clipped (or not) according to this option.
finalinherited
- disabledElevation → double?
-
The z-coordinate at which to place this button when the button is disabled
(onPressed is null).
finalinherited
- elevation → double?
-
The z-coordinate at which to place this button relative to its parent.
finalinherited
- enableFeedback → bool?
-
Whether detected gestures should provide acoustic and/or haptic feedback.
finalinherited
- extendedIconLabelSpacing → double?
-
The spacing between the icon and the label for an extended
FloatingActionButton.
finalinherited
- extendedPadding → EdgeInsetsGeometry?
-
The padding for an extended FloatingActionButton's content.
finalinherited
- extendedTextStyle → TextStyle?
-
The text style for an extended FloatingActionButton's label.
finalinherited
- focusColor → Color?
-
The color to use for filling the button when the button has input focus.
finalinherited
- focusElevation → double?
-
The z-coordinate at which to place this button relative to its parent when
the button has the input focus.
finalinherited
- focusNode → FocusNode?
-
An optional focus node to use as the focus node for this widget.
finalinherited
- foregroundColor → Color?
-
The default foreground color for icons and text within the button.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- heroTag → Object?
-
The tag to apply to the button's Hero widget.
finalinherited
- highlightElevation → double?
-
The z-coordinate at which to place this button relative to its parent when
the user is touching the button.
finalinherited
- hoverColor → Color?
-
The color to use for filling the button when the button has a pointer
hovering over it.
finalinherited
- hoverElevation → double?
-
The z-coordinate at which to place this button relative to its parent when
the button is enabled and has a pointer hovering over it.
finalinherited
- isExtended → bool
-
True if this is an "extended" floating action button.
finalinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- materialTapTargetSize → MaterialTapTargetSize?
-
Configures the minimum size of the tap target.
finalinherited
- mini → bool
-
Controls the size of this button.
finalinherited
- mouseCursor → MouseCursor?
-
The cursor for a mouse pointer when it enters or is hovering over the
button.
finalinherited
- onPressed → VoidCallback?
-
The callback that is called when the button is tapped or otherwise activated.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → ShapeBorder?
-
The shape of the button's Material.
finalinherited
- splashColor → Color?
-
The splash color for this FloatingActionButton's InkWell.
finalinherited
- tooltip → String?
-
Text that describes the action that will occur when the button is pressed.
finalinherited
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
inherited
-
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}) → 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