skip to Main Content

Flutter – Show Icon after TextForm Field

Expanded( child: Column( mainAxisAlignment: MainAxisAlignment.start, children: [ SizedBox(height: 40), Row( children: [ SizedBox(width: 8), //MENU Icon( Icons.menu, size: 34, color: AppColors.black, ), Spacer(), //LOGO SizedBox( height: 60, width: 100, child: Image.asset( 'assets/icons/logo_transparent_main.png', )), SizedBox(width: 8) ], ), //SEARCHBAR Padding( padding:…

VIEW QUESTION

Flutter – When i don't give the optional suffixIcon to my customTextField the hintText also not visible

[[enter image description here](https://phpout.com/wp-content/uploads/2024/04/mvgaP.png)](https://phpout.com/wp-content/uploads/2024/04/of6U4.png) When i don't give the optional suffixIcon to my customTextField the hintText also not visible. But when i give the suffixIcon hintText is visible. How can i solve this ? Want to visible the hintText with…

VIEW QUESTION

Flutter – Text Color didn't change

I try to use FocusNode() in TextFormField so it will detect when I focus on the TextFormField, the text above will have it's color changed. But it seems not working, what seems to be the problem? enter image description here…

VIEW QUESTION

Flutter TextFieled , The hint and cursor is in the bottom of the text filed even with specifying that the verticalTextAlign as Center

import 'package:flutter/material.dart'; class TextFiledMessageSend extends StatelessWidget { const TextFiledMessageSend({super.key}); @override Widget build(BuildContext context) { return TextField( textAlignVertical: TextAlignVertical.center, decoration: InputDecoration( border: InputBorder.none, hintText: "Type your message ", // contentPadding: const EdgeInsets.symmetric(horizontal: 10), prefixIcon: IconButton( onPressed: () {}, icon: const Icon(Icons.emoji_emotions,…

VIEW QUESTION

Flutter – Rebuilding issue when I declare MediaQuery within the build function

import 'package:bug_fix/home_screen.dart'; import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @OverRide Widget build(BuildContext context) { return const MaterialApp( home: HomeScreen(), ); } } import 'dart:developer'; import 'package:flutter/material.dart'; class HomeScreen extends StatelessWidget { const…

VIEW QUESTION
Back To Top
Search