zero_package

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

zero package

🔥 Awesome Indicator #


Horizontal
Vertical






Features #

AwesomeIndicator.move
AwesomeIndicator.fill


Support Platforms #

Flutter Android
Flutter iOS
Flutter Web
Flutter Desktop


Usage #
Add the package to pubspec.yaml
dependencies:
awesome_indicator: ^<latest-version>
copied to clipboard
After that import the package
import 'package:awesome_indicator/awesome_indicator.dart';
copied to clipboard
AwesomeIndicator #
.move
AwesomeIndicator.move(
controller: _controller,
);
copied to clipboard
.fill
AwesomeIndicator.fill(
controller: _controller,
);
copied to clipboard
Require
controller
AwesomeIndicator.type(
controller: ScrollController(),
);
copied to clipboard
Optional
scrollDirection

Default: Axis.horizontal

AwesomeIndicator.type(
scrollDirection: Axis.horizontal,
);
copied to clipboard
width

Axis.horizontal : maxWidth


Axis.vertical : 8

AwesomeIndicator.type(
width: _width,
);
copied to clipboard
height

Axis.horizontal : 8


Axis.vertical : maxHeight

AwesomeIndicator.type(
height: _height,
);
copied to clipboard
indicator

only .move mode


Default: 0.35


Indicator ratio between 0 and 1

AwesomeIndicator.type(
indicator: 0.35,
);
copied to clipboard
color

Indicator Color

AwesomeIndicator.type(
color: _color,
);
copied to clipboard
background

Backround color of Indicator

AwesomeIndicator.type(
background: _background,
);
copied to clipboard
gradient
AwesomeIndicator.type(
gradient: _gradient,
);
copied to clipboard
backgroundGradient
AwesomeIndicator.type(
backgroundGradient: _backgroundGradient,
);
copied to clipboard
radius

Default: 8

AwesomeIndicator.type(
radius: 8,
);
copied to clipboard
margin
AwesomeIndicator.type(
margin: const EdgeInsets.zero,
);
copied to clipboard
onListener
AwesomeIndicator.type(
onListener: (int ratio, double pixel, Axis direction) {
// indicator Ratio
// indicator Pixel
// ScrollDirection
},
);
copied to clipboard
isDebug

Default: true


Console log

AwesomeIndicator.type(
isDebug: true,
);
copied to clipboard

Created by Tyger Github

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.