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

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

Import it #

Now in your Dart code, you can use:

import 'package:scrolling_highlight/scrolling_highlight.dart';

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(),
      ),
    );
  }

hideHighlight by default true and it's optional,

hideHighlight: true,
1
likes
150
pub points
0%
popularity

Publisher

unverified uploader

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)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on scrolling_highlight