API handling using BLOC in Flutter
import "package:bloc_wslc_statemanagement/Api_handling_using_Bloc/Custom_Class/api_helper.dart" ; import "package:bloc_wslc_statemanagement/Api_handling_using_Bloc/bloc/quote_bloc.dart" ; import "package:bloc_wslc_statemanagement/Api_handling_using_Bloc/bloc/quote_event.dart" ; import "package:bloc_wslc_statemanagement/Api_handling_using_Bloc/bloc/quote_state.dart" ; import "package:flutter/material.dart" ; import "package:flutter_bloc/flutter_bloc.dart" ; void main () { runApp ( const MyApp () ) ; } class MyApp extends StatelessWidget { const MyApp ( { super .key } ) ; @override Widget build ( BuildContext context ) { return MaterialApp ( title: "Home Page" , debugShowCheckedModeBanner: false, theme: ThemeData ( appBarTheme: const AppBarTheme ( backgroundColor: Colors. grey , centerTitle: true, ) , ) , home: BlocProvider ( create...