ScrollingExtensions extension
Commonly used scrolling extensions on Widgets.
- on
Methods
-
notificationListener<
T extends Notification> ({required NotificationListenerCallback< T> ? onNotification, Key? key}) → Widget -
Available on Widget, provided by the ScrollingExtensions extension
A widget that listens for Notifications bubbling up the tree. -
refreshIndicator(
{required RefreshCallback onRefresh, Key? key, double displacement = 40.0, double edgeOffset = 0.0, Color? color, Color? backgroundColor, ScrollNotificationPredicate notificationPredicate = defaultScrollNotificationPredicate, String? semanticsLabel, String? semanticsValue, double strokeWidth = RefreshProgressIndicator.defaultStrokeWidth, RefreshIndicatorTriggerMode triggerMode = RefreshIndicatorTriggerMode.onEdge}) → Widget -
Available on Widget, provided by the ScrollingExtensions extension
A widget that supports the Material "swipe to refresh" idiom. -
scrollBar(
{Key? key, ScrollController? controller, bool? thumbVisibility, bool? trackVisibility, double? thickness, Radius? radius, ScrollNotificationPredicate? notificationPredicate, bool? interactive, ScrollbarOrientation? scrollbarOrientation, bool? showTrackOnHover}) → Widget -
Available on Widget, provided by the ScrollingExtensions extension
A material design scroll bar. -
singleChildScrollView(
{Key? key, Axis scrollDirection = Axis.vertical, bool reverse = false, EdgeInsetsGeometry? padding, bool? primary, ScrollPhysics? physics, ScrollController? controller, DragStartBehavior dragStartBehavior = DragStartBehavior.start, Clip clipBehavior = Clip.hardEdge, String? restorationId, ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual}) → Widget -
Available on Widget, provided by the ScrollingExtensions extension
A box in which a single widget can be scrolled.