ScrollToBottomButtonConfig class
Configuration for the "Scroll to Bottom" button.
Constructors
- ScrollToBottomButtonConfig({Color? backgroundColor, Border? border, BorderRadius? borderRadius, Icon? icon, Duration? scrollAnimationDuration, ScrollButtonAlignment? alignment, EdgeInsets? padding, VoidCallback? onClick, double? buttonDisplayOffset})
Properties
- alignment → ScrollButtonAlignment?
-
The alignment of the button on top of text field.
final
- backgroundColor → Color?
-
The background color of the button.
final
- border → Border?
-
The border of the button.
final
- borderRadius → BorderRadius?
-
The border radius of the button.
final
-
The scroll offset after which the button is displayed.
The button appears when the scroll position is greater than or equal to this value.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Icon?
-
The icon displayed on the button.
final
- onClick → VoidCallback?
-
The callback function to be executed when the button is clicked.
final
- padding → EdgeInsets?
-
The padding around the button.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollAnimationDuration → Duration?
-
The duration of the scroll animation when the button is clicked.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited