simple_count_down_timer 1.0.3 copy "simple_count_down_timer: ^1.0.3" to clipboard
simple_count_down_timer: ^1.0.3 copied to clipboard

This is a simple countdown timer widget. It displays the remaining time until a specified time, triggers a callback function when the countdown finishes.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:simple_count_down_timer/simple_count_down_timer.dart' as timer;

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

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: timer.SimpleCountDownTimer(
            duration: const Duration(days: 1, seconds: 5),
            animationStyle: timer.AnimationStyle.fadeIn,
          ),
        ),
      ),
    );
  }
}
2
likes
0
points
7
downloads

Publisher

verified publisherakshayt.dev

Weekly Downloads

This is a simple countdown timer widget. It displays the remaining time until a specified time, triggers a callback function when the countdown finishes.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

animated_text_kit, flutter, plugin_platform_interface

More

Packages that depend on simple_count_down_timer

Packages that implement simple_count_down_timer