skip to Main Content

Flutter AutoFillGroup/Autofill hints not working

My code to show and submit login form: class LoginWidget extends StatelessWidget { const LoginWidget({ super.key, }); @override Widget build(BuildContext context) { final citiesLoaded = context.select((LoginBloc bloc) => bloc.state.citiesLoaded); final loginBloc = context.read<LoginBloc>(); final selectedCity = (citiesLoaded && loginBloc.state.cities.length ==…

VIEW QUESTION

Flutter – i don't know why this iconbutton i created doesn't work

class TodoItem extends StatelessWidget { final Todo todo; const TodoItem({super.key, required this.todo}); @override Widget build(BuildContext context) { return ListTile( contentPadding: const EdgeInsets.symmetric(horizontal: 20, vertical: 5), selectedTileColor: Colors.red, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(15) ), tileColor: Colors.grey, leading: **IconButton( color: Colors.black, iconSize: 18,…

VIEW QUESTION

I have error when try to run my flutter code

when iam trying to run my code i got this error: Launching libmain.dart on sdk gphone64 x86 64 in debug mode... √ Built buildappoutputsflutter-apkapp-debug.apk. Error: ADB exited with exit code 1 Performing Streamed Install adb: failed to install G:PorjectsFlutternotepad_appbuildappoutputsflutter-apkapp-debug.apk: Failure…

VIEW QUESTION

Flutter – SingleChildScrollView does not scroll down, even though there are items beneath what is shown

This is the full code. import 'dart:async'; import 'dart:convert'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:http/http.dart' as http; Future<List<Event>> fetchEvents(http.Client client) async { final response = await http.get(Uri.parse('https://my-json-server.typicode.com/Evgen1987RUS/test-json/events/')); // TODO: тестовый джей сон поменять на нормальный return compute(parseEvents, response.body); } List<Event>…

VIEW QUESTION
Back To Top
Search