buildOverscrollIndicator method Null safety

Widget buildOverscrollIndicator(
  1. BuildContext context,
  2. Widget child,
  3. ScrollableDetails details
)

Applies a GlowingOverscrollIndicator to the child widget on TargetPlatform.android and TargetPlatform.fuchsia.

Implementation

Widget buildOverscrollIndicator(BuildContext context, Widget child, ScrollableDetails details) {
  // TODO(Piinks): Move implementation from buildViewportChrome here after
  //  deprecation period
  // When modifying this function, consider modifying the implementation in
  // the Material and Cupertino subclasses as well.
  return buildViewportChrome(context, child, details.direction);
}