fix: remove old unused features and widgets

This commit is contained in:
mso7nueh
2024-11-20 14:10:05 +03:00
parent a007e53aae
commit 63dc72bd7a
96 changed files with 9 additions and 7548 deletions

View File

@@ -0,0 +1,26 @@
import 'package:eatvio_app/features/auth/auth_screen/models/auth_model.dart';
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
part 'auth_event.dart';
part 'auth_state.dart';
/// A bloc that manages the state of a Auth according to the event that is dispatched to it.
class AuthBloc extends Bloc<AuthEvent, AuthState> {
AuthBloc(AuthState initialState) : super(initialState) {
on<AuthInitialEvent>(_onInitialize);
}
_onInitialize(
AuthInitialEvent event,
Emitter<AuthState> emit,
) async {
emit(
state.copyWith(
emailController: TextEditingController(),
passwordController: TextEditingController(),
),
);
}
}