How to know which word is clicked in a article in Flutter

I'm tring to using Flutter to building a reading application, where I want users to tap in the article and the word clicked will be highlighted. Is there a way to know...

Flutter TextField with maxLength and

I need a Text Area with an enforced maxLength of 250 chars and its label aligned with the hint text. My code is below. However, the widget is rendering the tex...

Flutter - Wrap: do not wrap with text

i have this code: <pre><code>import 'package:flutter/material.dart'; void main() =&gt; runApp(mainApp()); class mainApp extends StatelessWidget { @override W...

Is there any texteditor that I can also insert images in the middle of texts in Flutter?

I would like to make a blog app by flutter in which people will write posts with text and picture. I learned how to make the form that image and text are separa...

User Richtext with TextSpan in container but is not its not gives proper output

I used RichText and TextSpan for my formatted string. But issue is I want long string with ... form I do some RnD, As per some solutions on google I use <em><st...

Flutter: Textfield initial value produces additional new lines

I need to update the value ListTile inside a card. So onLongPress(), I use showDialog to show a textfield. The initial value of the textfield is updated in initState()...

How to add a texfield inside the App bar in Flutter?

I'am having trouble in having a <code>TextField</code> on the <code>AppBar</code> so the user can enter input similarly to using a search bar. I need to take the user...

How to Customize Text ellipsis in flutter?

I want to display text as below image. So i need to customize text overflow more than 3 dots OR any other way to implement this.<a href="https://i.stack.imgur.com/kjNy...

Flutter : clear textfield from another widget or screen

If I have this screen contain some widgets : <pre><code>@override Widget build(BuildContext context) { return Column(children :[ TextFieldWidget(), Cl...

Pass data and receive on textfield widget in Flutter

How to pass a data from first screen to second screen but should receive on <code>textfield</code> widget in second screen. I have tried but there is no option in <cod...

Flutter - keyboard over TextFormField

I have a some kind of login page in an app. However, when I focus to TextFormField, keyboard overlay the fields and nothing is seen. As Android dev, I normally...

asking for microphone permissions for android

I added a text-to-speech searcher for my app, so I can filter a list with speech, It works all fine the only thing is I have to accept the permissions manually from th...

Can you put a TextFormField inside a Dismissible widget?

I am trying to put a TexFormField widget inside of a dismissible widget and be able to dismiss the row when the there is a cursor active inside the TextFormField....

How to use two different packages together on the same data

I have this two packages which i want to use <a href="https://pub.dev/packages/flutter_linkify" rel="nofollow noreferrer">flutter_linkify</a> and <a href="https://pub....

TextField &amp; BLoC : pre-filling a field

I have a screen with a form that I use to post an ad and I use that same screen to edit an ad. When I want to edit an ad, the form is pre-fill with the content of the...