stream_duration 1.0.0 stream_duration: ^1.0.0 copied to clipboard
A dart package for 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