skip to Main Content

Flutter: How can I position a TextButton at the end of a Listview builder instead of it being anchored at bottom of column?

class _AppointmentListViewState extends State<AppointmentListView> { int numOfInitialAppointmentsLoaded = 2; int numOfAppointmentsToFetch = 2; @override Widget build(BuildContext context) { List appointmentData = [ ...widget.appointmentList.map( (appointmentData) => AppointmentModal(appointment: appointmentData)) ]; int totalNumberOfAppointments = appointmentData.length; void loadMoreAppointments() { if (numOfInitialAppointmentsLoaded >= totalNumberOfAppointments) {…

VIEW QUESTION

Flutter – Make certain widget scrollable

I have a Column widget in my page. There are two widget in Column widget, one is ListTie, another is ListView. Widget _showBody(BuildContext context) { return Column(children: [ ListTile( horizontalTitleGap: 0, tileColor: Colors.white, onTap: () {}, leading: const Icon( Icons.smart_button,…

VIEW QUESTION
Back To Top
Search