scrolling_page_indicator_like_Instagram

View page indicator like Instagram.

scrolling_page_indicator_Instagram
Instagram

Getting Started

  1. Dependency
dependencies:
  scrolling_page_indicator: ^0.1.2
  1. Install

flutter packages get

  1. Import
import 'package:scrolling_page_indicator/scrolling_page_indicator.dart';
  1. Use
ScrollingPageIndicator(
    dotColor: Colors.grey,
    dotSelectedColor: Colors.deepPurple,
    dotSize: 6,
    dotSelectedSize: 8,
    dotSpacing: 12,
    controller: _controller,
    itemCount: items.length,
    orientation: Axis.horizontal
)

GitHub

Download the full project for this post from the following button

This source is fully free for all time

Download as zip

Comments are closed.

You're Offline!

Top