stream_duration 1.0.0 copy "stream_duration: ^1.0.0" to clipboard
stream_duration: ^1.0.0 copied to clipboard

outdated

A dart package for stream duration.

example/stream_duration.dart

import 'package:stream_duration/stream_duration.dart';

void main() {
  var streamDuration = StreamDuration(Duration(seconds: 10), () {
    print('Stream Done');
  });

  streamDuration.durationLeft.listen((event) {
    print(event.inSeconds);
  });
}
9
likes
0
points
5.67k
downloads

Publisher

verified publisherfarhanfadila.site

Weekly Downloads

A dart package for stream duration.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on stream_duration