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,
              ),
            ),
          ],
        ),
      ),
    );
  }
}
128
likes
140
pub points
96%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on countup