scrolling_highlight 1.1.0 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.
import 'package:scrolling_highlight/scrolling_highlight.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Scrolling Highlight Demo'),
),
body: ScrollingHighlight(
child: ListView.builder(
itemCount: 30,
itemBuilder: (context, index) {
return const ListTile(
title: Text('Jamal Uddin'),
subtitle: Text('Flutter App Developer'),
);
},
),
),
),
);
}
}