Issue How to fix this error: StateError (Bad state: add(SignUp Button Pressed) was called without a registered event handler. Make sure to register a handler via on((event, emit) {…})) SignUpBloc: import ‘package:bloc/bloc.dart’; import ‘package:equatable/equatable.dart’; import ‘../../domain/repositories/user_repository.dart’; part ‘sign_up_event.dart’; part ‘sign_up_state.dart’;
Continue readingTag: mobile
Error in flutter Abstract classes can't be instantiated
Issue currently I am studying Flutter and Dart, and when writing code, I’m getting this error message: "Abstract classes can’t be instantiated. : 35". I don’t know what to do, I followed a tutorial video and it seemed like everything
Continue readingHow can I print a message using try and catch in Flutter+Firebase on VSCode?
Issue Following code is implementation of _LoginPageState: final emailController = TextEditingController(); final passwordController = TextEditingController(); void signIn() async{ // loading circle print("SignIn"); showDialog( context: context, builder: (context) { return const Center( child: CircularProgressIndicator(), ); }, ); // dealing with incorrect
Continue readingHow to implement saving and loading json file in Fleatherfield?
Issue I have two textfield here labeled title and content. I just want to know how to implement the same kind of saving and loading of json file since the controller of the fleatherfield doesnt have the getter ‘text’ in
Continue readingServer Side API for Mobile Applications
Issue I am an iPhone developer. I create many mobile applications. Some of them need a server side backend to store data and then my iPhone applications access them. Usually, I need to create a backend web application myself using
Continue readingHow can i add a delete button in this app?
Issue I have a flutter project that should have the user enter a string input thin put it into a card but for better ux i want to add a delete feature so i put an icon button but i
Continue readingI couldn't get data from class
Issue I’ve a class for store scripts in data folder like this import ‘package:keydata_zipcikti/models/script_model.dart’; const scripts = [ Script(‘create network folder bash script’) | | | ]; and model file in model folder class Script { const Script(this.text); final String
Continue readingWhat is the purpose of using 'Static' in this Flutter/Dart code?
Issue My code do not work without ‘Static’. What does it do? and why the code don’t work without it? Is it simillar or related to initState() Function? Did a reasearch but Google answers weren’t enough. Thanks. class ResultScreen extends
Continue readingPath,Roads are black in Google Maps Flutter
Issue when I zoom 14 and more lines look black. When less 14, It is okay. Image 1 Image 2 @override Widget build(BuildContext context) { return GoogleMap( onMapCreated: (controller) { _googleMapController = controller; // rootBundle.loadString(‘assets/map_style.txt’).then((value) { // mapStyle = value;
Continue readingFlutter custom Icon Font not showing from package
Issue I’m having trouble showing my custom icon font on screen. Android emulator as well as iOS emulator. I’m importing the icons via a package that generates the font. I previously had them directly in the app repository coming from
Continue reading