Last updated:
0 purchases
scrolling highlight
When you create a listview in Flutter and scroll up and down you will find a highlight color in both.
To remove ListView highlight color in Flutter you can use it. It is simple and helpful.
See this 2 screenshots. You can hide this highlight color by this package
Highlight color in the top of the screen
Highlight color in the bottom of the screen
Features #
. Hide the highlight color for listview when you scroll
Getting started #
Run this command in terminal
$ flutter pub add scrolling_highlight
copied to clipboard
or
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
scrolling_highlight: ^1.0.0
copied to clipboard
Import it #
Now in your Dart code, you can use:
import 'package:scrolling_highlight/scrolling_highlight.dart';
copied to clipboard
Usage #
just wrap your widget with ScrollingHighlight()
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Scrolling Highlight Demo'),
),
body: ScrollingHighlight(
child: ListView(),
),
);
}
copied to clipboard
hideHighlight by default true and it's optional,
hideHighlight: true,
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.