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

Output


🚧 Maintener

Farhan Fadila
Farhan Fadila
📫 How to reach me: farhan.fadila1717@gmail.com

❤️ Suport Maintener

Donate Donate

Libraries

stream_duration