I have one requirement to display the songs chords. Like in this example https://songbase.life/admin/example . Actually this built in react js but i want to implement same in Flutter I have tried Using Stack and TextSpan, but not getting exact positions. Here is my code, that I have tried… List<Widget> _lyrics() { final lines = ..
Category : flutter-layout
Flutter app does not load content that needs to be fetched by API call. My server is http://{ serverIP }/. While live debuging it loads the content on all devices without any issue. but after release, it only works on the device which has an android version. I tried this android:usesCleartextTraffic="true" but did not solve ..

How can I hide a Container and AppBar with animation on scrolling the bottom container upwards and show it when scrolling down. I’m also using a TabBar in the middle which should go on top of the screen when the bottom part is scrolled upwards. Here’s a picture: And here’s my code: import ‘dart:convert’; import ..
i am new to flutter so i was trying to build a scrollable listtile objects… so after building it i tried to make the iconbutton change color when onpressed which works but when i press a single button it changes the colors of all the items… i guess it has to do with assigning a ..
I have created a listview that retrieves data from the model. The problem with which I am relieved is that after removing a word in searchbar does not return all items in my list. I have to turn on the widget screen again. Maybe someone can fix me what is best to do next? thanks ..

So im trying to make an icon button with 2×3 stuff, where there are 2 rows of 3 elements across a screen. However when im implementing this with row the text is on the right side of the icon, I would like to make the text below the icon Currently What is have is this ..
I’m able to calculate the height and numbers of linesof a formatted Text widget using the TextPainer. Now I have to know which is the last fitting word (to display the rest of the string in another widget). I’m new to Flutter, I cannot find an TextPainter property that determines this value. What would be ..
Using flutter, dart and vscode to make an android app. I need to create a flutter app with an image that stretches over the entire background. Like this. And on top of this I need a circle button with and image inside, like this, that when pressed will return a sentence above it. I know ..

tl;dr How to split a string after it reaches the maxmimum height in its Text widget? My problem I’m new to Flutter, that’s why it is possible that I did not see low hangig fruits. What I want is, that a string of various length are splitted into an n-amount of styled Text widgets. All ..
Need to have multiple listview on a single page. I had followed many tutorial but none is giving me perfect solution. For more understanding. I am hitting 4 network call and all have different type of responses. All I need to show it in a single page. Here people showed solution to use SingleChildScrollView or ..
Recent Comments