flutter_countdown_widget 0.0.1
flutter_countdown_widget: ^0.0.1 copied to clipboard
A countdown widget for Flutter.
Usage #
CountDownWidget(
countDownTime: timeStamp,
builder: (context, day, hour, minute, second) {
return Container(
constraints: const BoxConstraints(maxWidth: 168.0),
height: 18.0,
alignment: Alignment.center,
margin: const EdgeInsets.only(top: 3.5),
child: RichText(
text: TextSpan(
children: [
TextSpan(
text: "$day",
style: const TextStyle(fontSize: 13.0, color: Colors.black, fontWeight: FontWeight.w500),
),
...
],
),
),
);
},
)
More #
For more question, you can email me: chenzhangjin@outlook.com