Posts

API handling using BLOC in Flutter

Image
  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...

Sign Up Screen Simple UI in Flutter

Image
  import "package:flutter/material.dart" ; import "package:praxware_tasks/Custom_Widget/CustomWidget.dart" ; void main () { runApp ( const MyApp () ) ; } class MyApp extends StatelessWidget { const MyApp ( { super .key } ) ; @override Widget build ( BuildContext context ) { return MaterialApp ( title: "Sign Up Screen" , debugShowCheckedModeBanner: false, theme: ThemeData ( appBarTheme: const AppBarTheme ( backgroundColor: Colors. white , centerTitle: true, ) , ) , home: SignUpScreenUiTaskTutorial () , ) ; } } class SignUpScreenUiTaskTutorial extends StatelessWidget { SignUpScreenUiTaskTutorial ( { super .key } ) ; TextEditingController nameController = TextEditingController () ; TextEditingController emailController = TextEditingController () ; TextEditingController mobileController = TextEditingController () ; TextEditingController passwordController = TextEditin...

Sign In Screen Simple UI in Flutter

Image
  import "package:flutter/material.dart" ; import "package:praxware_tasks/Custom_Widget/CustomWidget.dart" ; void main () { runApp ( const MyApp () ) ; } class MyApp extends StatelessWidget { const MyApp ( { super .key } ) ; @override Widget build ( BuildContext context ) { return MaterialApp ( title: "Sign In" , debugShowCheckedModeBanner: false, theme: ThemeData ( appBarTheme: const AppBarTheme ( backgroundColor: Colors. white , centerTitle: true, ) , ) , home: SignInScreenTutorial () , ) ; } } class SignInScreenTutorial extends StatelessWidget { SignInScreenTutorial ( { super .key } ) ; TextEditingController emailController = TextEditingController () ; TextEditingController passwordController = TextEditingController () ; @override Widget build ( BuildContext context ) { return GestureDetector ( onTap: () { return FocusManager. instance . prima...