DefaultScrollToBottom class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- DefaultScrollToBottom
Constructors
- DefaultScrollToBottom({required ScrollController scrollController, Color? backgroundColor, Color? textColor, double? bottom = 10.0, double? left = 0.0, double? right = 0.0, double? top, double height = 30.0, double width = 30.0, double elevation = 5, IconData icon = Icons.arrow_downward, double iconSize = 18, void onScrollToBottomPress()?, Key? key})
-
const
Properties
- backgroundColor → Color?
-
Background color of the button
final
- bottom → double?
-
The distance that the child's bottom edge is inset from the bottom of the stack
final
- elevation → double
-
Elevation of the button
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
Height of the button
final
- icon → IconData
-
Icon of the button
final
- iconSize → double
-
Icon size
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- left → double?
-
The distance that the child's left edge is inset from the left of the stack
final
- onScrollToBottomPress → void Function()?
-
Function to call when the scroll-to-bottom widget is pressed
It will scroll down in any case
final
- right → double?
-
The distance that the child's right edge is inset from the right of the stack
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollController → ScrollController
-
Scroll controller of the chat list
final
- textColor → Color?
-
Icon color of the button
final
- top → double?
-
The distance that the child's top edge is inset from the top of the stack
final
- width → double
-
Width of the button
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}) → 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