Issue I’m using bloc architecture for my project, and I’m trying to disable/enable the form based upon the checkbox value. Here is my code->>> Widget _buildSameAsResidential(BuildContext context) { return StreamBuilder<FormValue<bool, String>>( initialData: _addressBloc.residentailEqualMailingValue, stream: _addressBloc.residentailEqualMailing, builder: (context, snapshot) { return
Continue readingTag: entity-framework
How to show all the text field dynamically values by loop or index flutter
Issue Hello everyone I have been trying to get the value from dynamic text fields values to the next screen here is the first screen code. for (int i = 0; i < _nameControllers.length; i++) { Navigator.pushReplacement( context, CupertinoPageRoute( builder:
Continue reading_typeerror (type 'int' is not a subtype of type 'double')
Issue here is the picture Here is the code.i receive this type of error. can anyone solve this problem. _getAllHotProducts() async { var hotProducts = await _productService.getHotProducts(); var result = json.decode(hotProducts.body); result[‘data’].forEach((data) { var model = Product(); model.id = data[‘id’];
Continue readingflutter Error: The argument type 'Object Function()' can't be assigned to the parameter type 'Map<String, dynamic>'
Issue I tried to create a model in the flutter material app for players. I created a class called ‘player’ and implement it. I edit gradle files for connecting with firebase. I gain some errors in my code. So please
Continue readingflutter Error: The argument type 'Object Function()' can't be assigned to the parameter type 'Map<String, dynamic>'
Issue I tried to create a model in the flutter material app for players. I created a class called ‘player’ and implement it. I edit gradle files for connecting with firebase. I gain some errors in my code. So please
Continue readingA value of type 'Object?' can't be assigned to a variable of type 'SinginCharacter'
Issue import ‘package:flutter/material.dart’; import ‘package:foodcorner/color/colors.dart’; enum SinginCharacter {fill,outline} class ProductDetails extends StatefulWidget { const ProductDetails({Key? key}) : super(key: key); @override _ProductDetailsState createState() => _ProductDetailsState(); } class _ProductDetailsState extends State<ProductDetails> { SinginCharacter _character = SinginCharacter.fill; @override Widget build(BuildContext context) { return
Continue reading