ModernMemoires/lib/utils/widgets/no_glow_scroll_behavior.dart

9 lines
264 B
Dart
Raw Permalink Normal View History

2024-01-13 17:07:11 +01:00
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
}
}