9 lines
264 B
Dart
9 lines
264 B
Dart
|
import 'package:flutter/cupertino.dart';
|
||
|
|
||
|
class NoGlowScrollBehavior extends ScrollBehavior {
|
||
|
@override
|
||
|
Widget buildViewportChrome(BuildContext context, Widget child, AxisDirection axisDirection) {
|
||
|
return child; // this line disables the glow effect
|
||
|
}
|
||
|
}
|