Files
eatvio_app/lib/presentation/gender_screen/bloc/gender_bloc.dart
2023-12-18 14:47:54 +03:00

19 lines
606 B
Dart

import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/gender_screen/models/gender_model.dart';
part 'gender_event.dart';
part 'gender_state.dart';
/// A bloc that manages the state of a Gender according to the event that is dispatched to it.
class GenderBloc extends Bloc<GenderEvent, GenderState> {
GenderBloc(GenderState initialState) : super(initialState) {
on<GenderInitialEvent>(_onInitialize);
}
_onInitialize(
GenderInitialEvent event,
Emitter<GenderState> emit,
) async {}
}