check_points 0.0.1+1 icon indicating copy to clipboard operation
check_points: ^0.0.1+1 copied to clipboard

To ba able to show Time line.

Easy use Check Points to show Status Change👌

Caveat: This package is an early stage. Not enough testing has been done to guarantee stability. Some APIs may change.

Installation #

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  check_points: ^[latest_version]

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:check_points/check_points.dart';

Basic Usage #

import 'package:check_points/check_points.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: ExView(),
    );
  }
}


class ExView extends StatelessWidget {
  const ExView({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          CheckPoint(
          checkedTill: 0,
          checkPoints: <String>[
            'Order',
            'Shipped',
            'Deliverd',
          ],
          checkPointFilledColor: Colors.greenAccent,
          ),
        ],
      ),
    );
  }
}
5
likes
90
pub points
32%
popularity

Publisher

unverified uploader

To ba able to show Time line.

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on check_points