2019-04-06 18:11:42 -06:00
|
|
|
import 'dart:async';
|
2019-04-06 22:53:22 -06:00
|
|
|
import 'package:meta/meta.dart';
|
2019-04-06 18:11:42 -06:00
|
|
|
|
|
|
|
|
import '../resources/firestore_provider.dart';
|
|
|
|
|
import '../resources/firebase_storage_provider.dart';
|
|
|
|
|
|
2019-04-06 20:38:37 -06:00
|
|
|
/// A business logic component that manages the state for an event screen.
|
|
|
|
|
class EventBloc {
|
2019-04-06 22:53:22 -06:00
|
|
|
/// The name of the event being shown.
|
|
|
|
|
final String eventName;
|
|
|
|
|
EventBloc({
|
|
|
|
|
@required this.eventName,
|
|
|
|
|
});
|
2019-04-06 20:38:37 -06:00
|
|
|
|
|
|
|
|
/// Fetches the tasks for the current user that a part of the currently
|
|
|
|
|
/// selected event.
|
|
|
|
|
void fetchTasks() {}
|
|
|
|
|
void dispose() {}
|
|
|
|
|
}
|