countup 0.1.4 copy "countup: ^0.1.4" to clipboard
countup: ^0.1.4 copied to clipboard

An flutter plugin that will help you to build animated counter texts.

example/example.dart

import 'package:flutter/material.dart';

// OUR PACKAGE
import 'package:countup/countup.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Example',
      theme: ThemeData(
        primarySwatch: Colors.pink,
      ),
      home: Container(
        alignment: Alignment.center,
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            Countup(
              begin: 0,
              end: 7500,
              duration: Duration(seconds: 3),
              separator: ',',
              style: TextStyle(
                fontSize: 36,
              ),
            ),
          ],
        ),
      ),
    );
  }
}
130
likes
140
points
9.75k
downloads

Publisher

unverified uploader

Weekly Downloads

An flutter plugin that will help you to build animated counter texts.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on countup