page_indicator 0.1.3+1 copy "page_indicator: ^0.1.3+1" to clipboard
page_indicator: ^0.1.3+1 copied to clipboard

outdated

flutter pageview indicator, easy to use. Custom location, size, but only circular.

page_indicator #

pub package

preview #

image

install #

see

  1. Depend on it Add this to your package's pubspec.yaml file:
dependencies:
  page_indicator: ^0.1.3
  1. Install it

You can install packages from the command line:

with Flutter:

flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

  1. Import it Now in your Dart code, you can use:

import 'package:page_indicator/page_indicator.dart';

use #

see

PageIndicatorContainer(
    pageView: PageView(
        children: <Widget>[
        Column(
        Text('1'),
        Text('2'),
        Text('3'),
        Text('4'),
        ],
        controller: controller,
    ),
    align: IndicatorAlign.bottom, // your indicator align with container
    length: 4, // indicator count
    indicatorColor: Colors.white, // unselected indicator color
    indicatorSelectorColor: Colors.grey, // selected indicator color
    padding: EdgeInsets.only(bottom: 10.0), // padding with bottom .when align top you should use properties `top:10.0`
    size: 15.0, // indicator size.
    indicatorSpace: 10.0, // space between circles
    )
58
likes
0
pub points
95%
popularity

Publisher

verified publisherkikt.top

flutter pageview indicator, easy to use. Custom location, size, but only circular.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on page_indicator