count_down_timer 0.0.3 copy "count_down_timer: ^0.0.3" to clipboard
count_down_timer: ^0.0.3 copied to clipboard

outdated

A new Flutter countdown project that can be used to send SMS verification code scenarios

count_down_timer #


A new Flutter countdown project that can be used to send SMS verification code scenarios


How to Use #

# add this line to your dependencies
count_down_timer: ^0.0.3
import 'package:count_down_timer/count_down_timer.dart';

CountDownWidget(
        startSeconds: 60,
        onTapCallback: (timer) {
            print('onTapCallback:current is ${timer.tick}s');
        },
        enableTS:
            TextStyle(color: const Color(0xff00ff00)),
        disableTS:
            TextStyle(color: const Color(0xff999999)),
    )

API #

property description
startSeconds int
onTapCallback Function (timer)
enableTS TextStyle : clickable TextStyle
disableTS TextStyle : unclickable TextStyle
verifyStr String

GitHub #

3
likes
0
pub points
8%
popularity

Publisher

unverified uploader

A new Flutter countdown project that can be used to send SMS verification code scenarios

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on count_down_timer