This repository has been archived on 2023-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
imagini/web_native/lib/screens/old/upload/upload-bloc.dart

21 lines
557 B
Dart
Raw Normal View History

2021-01-06 21:12:32 +00:00
import 'dart:async';
import 'dart:ui';
import 'package:flutter/services.dart';
import 'package:imagini/models/contact.dart';
import 'package:flutter/material.dart';
import 'package:imagini/bloc/bloc.dart';
2021-01-08 02:45:59 +00:00
class UploadBloc extends Bloc {
2021-01-06 21:12:32 +00:00
StreamSubscription _audioPlayerStateSubscription;
Stream<String> get example => _exampleSubject.stream;
Sink<String> get exampleSink => _exampleSubject.sink;
final StreamController<String> _exampleSubject = StreamController<String>();
2021-01-08 02:45:59 +00:00
UploadBloc();
2021-01-06 21:12:32 +00:00
void dispose() {
_exampleSubject.close();
}
}