countdown_pill 1.0.6 copy "countdown_pill: ^1.0.6" to clipboard
countdown_pill: ^1.0.6 copied to clipboard

A customizable countdown pill widget with different time formats and animations.

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: Text('Countdown Pill Example')),
        body: Center(
          child: CountdownPill(
            targetDate: DateTime(2025, 3, 25),
            format: '{d} days {H} hours {M} minutes {S} seconds',
          ),
        ),
      ),
    );
  }
}
3
likes
140
points
39
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable countdown pill widget with different time formats and animations.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on countdown_pill