awesome_indicator 0.0.2 awesome_indicator: ^0.0.2 copied to clipboard
Indicator that operates with horizontal scrolling !!
Indicator that operates with horizontal scrolling #
Features #
- Horizontal Scroll Indicator
Support Platforms #
- Flutter Android
- Flutter iOS
- Flutter Web
- Flutter Desktop
Usage #
Add the package to pubspec.yaml
dependencies:
awesome_indicator: ^<latest-version>
After that import the package
import 'package:awesome_indicator/awesome_indicator.dart';
Scroll Indicator #
final ScrollController controller = ScrollController();
AwesomeScrollIndicator(
controller: controller,
);
Size
AwesomeScrollIndicator(
width : 300,
height : 8,
indicator : 0.3,
);
Colors
AwesomeScrollIndicator(
backgroud: const Color.fromRGBO(95, 95, 95, 1),
color : const Color.fromRGBO(255, 255, 255, 1),
);
Box
AwesomeScrollIndicator(
border : Border.all(),
radius : 20,
);
onListener
AwesomeScrollIndicator(
onListener: (int ratio, double position) {},
);
Optional #
Created by Tyger Github