scrolling_highlight 1.1.0 copy "scrolling_highlight: ^1.1.0" to clipboard
scrolling_highlight: ^1.1.0 copied to clipboard

When you create a listview and scroll up and down, you will find the highlight color in both. To remove this highlight color, you can use it.

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
1
likes
150
points
48
downloads

Publisher

unverified uploader

Weekly Downloads

2024.08.27 - 2025.07.22

When you create a listview and scroll up and down, you will find the highlight color in both. To remove this highlight color, you can use it.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on scrolling_highlight