Issue I have a ListTile built with following code: child: ListTile( leading: Padding( padding: EdgeInsets.only(top: 4, left: 12, bottom: 4), child: Text(department, style: TextStyle(color: Colors.white)), ), contentPadding: EdgeInsets.only(top: 4, left: 12, bottom: 4), title: Column( mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.start, children:
Continue readingTag: flutter-listview
Flutter ListView doesn't get constrained by wrapping it in Expanded
Issue I’m struggling hard with Flutter’s sizing constraints. I’m trying to make a custom scaffold like screen with a custom appbar and a stack below it with the lowest layer being a listview, and then maybe floating buttons on top
Continue readingTextFormField value resets back to initialValue inside a StreamBuilder in a scrollable ListView
Issue I got a problem working with TextFormField inside a StreamBuilder in a scrollable ListView. When a ListView is scrolled up and down, it destroys and rebuilds some children. When StreamBuilder widget rebuilds itself due to asynchronous nature of streams,
Continue readingFlutter – how to wrap contents the row width in the ListView?
Issue I want to draw a vertical list. Each item in list should be filled only wrapped size. But my code draw the list items with full width like: I tried to use MainAxisSize.min but it doesn’t work. class HomePage
Continue readingGetting RangeError (index): Invalid value: Valid value range is empty: 0
Issue I’m completely new to flutter like. I’m getting this error code over and over again and I don’t know what i do false I hope someone can help me with my very first question I’m not long into coding
Continue readinghow can use future in the listview flutter?
Issue I have future function and I want show this in the listview.seprator, but the listview do not get the future value. how can i fix this? this is my code: my hive class: @HiveType(typeId: 3) class TaskCat extends HiveObject{
Continue readinghow can use future in the listview flutter?
Issue I have future function and I want show this in the listview.seprator, but the listview do not get the future value. how can i fix this? this is my code: my hive class: @HiveType(typeId: 3) class TaskCat extends HiveObject{
Continue readingHorizontal ListView.Builder() not working in Flutter
Issue I have ListView as below in my flutter application: widgetToReturn = ListView.builder( shrinkWrap: true, physics: NeverScrollableScrollPhysics(), itemBuilder: (context, innerIndex) { return Text("Test"); }, itemCount: widget.objEvent!.details![index].items!.length); }) It works perfectly fine with Vertical scroll direction. But, When I am trying
Continue readingHow can I sorting ListView by trailing value in Flutter?
Issue I have a ListView in Flutter shows stores location information from firebase after that a function works to calculate a distance between customer location and stores locations and show distance value in the trailing of ListView, now I want
Continue readingCant make a listview builder in a column that is in a row, flutter
Issue I want to make a screen that has 2 columns beside eachother. Both columns are going to have a dynamic listview.builder and a textinput so I can put in new values and show them in those listviews. It is
Continue reading