Skip to main content

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,
              ),
            ),
          ],
        ),
      ),
    );
  }
}
131
likes
140
points
29.7k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on countup