cf_indicator 0.0.4 cf_indicator: ^0.0.4 copied to clipboard
This package has a indicator with pageView on page.it's responsive and can chage postion of indicator.
cf_indicator #
Page View Indicator.
Screenshots #
Usage #
To use this package :
- add the dependency to your pubspec.yaml file.
dependencies: #
dependencies:
flutter:
sdk: flutter
cf_indicator: "^0.0.3"
How to use #
import #
import 'package:cf_indicator/cf_indicator.dart';
example #
PageIndicator(
indicator: Indicator(
indicatorBackColor: Colors.white,
indicatorColor: Colors.orange,
radius: 10.0,
thickness: -4.0,
space: 10.0,
),
height: 300.0,
//backgroundColor: Colors.blue,
onPageChanged: (value) => print(value),
page: Images.imageslist.length,
controller: _pageController,
builder: (context, index) => _displayWidget(context, index),
),
Getting Started #
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.