stream_duration 1.0.0-dev.1 stream_duration: ^1.0.0-dev.1 copied to clipboard
A dart package for stream duration.
Stream Duration #
A dart package for stream duration.
Example #
import 'package:time_left/time_left.dart';
void main() {
var streamDuration = StreamDuration(Duration(seconds: 10), () {
print('Stream Done');
});
streamDuration.durationLeft.listen((event) {
print(event.inSeconds);
});
}
Output Print Example #
🚧 Maintener #
Farhan Fadila
📫 How to reach me: farhan.fadila1717@gmail.com