Issue I am trying to make a get Api call and fetch all the names from the list and populate in a listview. Below is an example of my json structure { "code": 100, "msg": "Success", "data": { "groups": [
Continue readingTag: flutter-listview
Flutter how to create List view autoscrolling?
Issue I’m trying to make a ListView that auto-scrolls to the newest data point. I tired to do this by making a _scrollToBottom function that uses the .jumpTo method. But i get a blank screen in the app, and ‘child.parentData
Continue readingColor of ListTile overflows its parent – Flutter
Issue The Problem : The ‘color’ of ListTile and the HoverColor overflows their parents. Maybe some other colors, but I haven’t tested yet. Here is the screenshots of this strange problem. screenshot @override Widget build(BuildContext context) { return ListView.builder( itemCount:
Continue readingHow to visible child widget of specific widget in ListView in Flutter?
Issue I need to visible comment TextFormField inside the widget of listview When clicking the selected widget item. Now Try it as below example and it’s visible all TextFormField inside the widgets of list view. But I only need to
Continue readingJson serialization returns: type 'Null' is not a subtype of type 'String'
Issue So I’m trying to build a list (of any kind) from a Json list object in flutter, I’m getting it using REST api the response is a Json list with the fields: type, contact {first_name, last_name}, created_at, uuid. using
Continue readinghow to delay data view 3 second in flutter
Issue this my code Container( child: Column( children: jobProvider.jobs .map( (job) => JobTile(job), ) .toList(), ), ) how to load this data delay for 3 seconds ? here I display the listview data, before displaying it I want to display,
Continue readingNull check operator used on null value when I have defined a model the particular list using null safety in flutter
Issue I want to check if list is empty then show some image and if it is not I want to show the contents of the list but I am getting an error when checking if the list is empty.This
Continue readingHero animation and scroll to position between two list in Flutter
Issue I am displaying files as thumbnails such as the Instagram user’s profile. When i click on an item (thumbnail) i have to perform a Hero animation that will reveal the full screen page. I also want to open the
Continue readingFlutter List.Builder fetch JSON
Issue This is my code: class HomePage extends StatefulWidget { @override _HomePageState createState() => _HomePageState(); } class _HomePageState extends State<HomePage> { List<User> _users = <User>[]; List<User> _usersDisplay = <User>[]; @override void initState() { super.initState(); fetchUsers().then((value){ _users.addAll(value); _usersDisplay = _users; print(_usersDisplay.length);
Continue readingHow to access Json data's
Issue I have some Json data. But i cannot access its inside without write first key name. Json data’s link is https://api.genelpara.com/embed/borsa.json I want to put them to Listview. How can I put them? If I write like code ,
Continue reading