| 1234567891011121314151617181920212223242526272829 | 
							- import 'package:flutter/material.dart';
 
- class OverScrollBehavior extends ScrollBehavior {
 
-   final bool isShowLeading;
 
-   final bool isShowTrailing;
 
-   OverScrollBehavior({this.isShowLeading = true, this.isShowTrailing = true});
 
-   @override
 
-   Widget buildViewportChrome(
 
-       BuildContext context, Widget child, AxisDirection axisDirection) {
 
-     switch (getPlatform(context)) {
 
-       case TargetPlatform.iOS:
 
-         return child;
 
-       case TargetPlatform.android:
 
-       case TargetPlatform.fuchsia:
 
-         return GlowingOverscrollIndicator(
 
-           child: child,
 
-           
 
-           showLeading: false,
 
-           
 
-           showTrailing: false,
 
-           axisDirection: axisDirection,
 
-           color: Theme.of(context).accentColor,
 
-         );
 
-     }
 
-     return child;
 
-   }
 
- }
 
 
  |