showing horizontal scroll bar flutter
159
Well try to remove the controller then ?
controller: ScrollController()
Author by
Kyaw Thiha
Updated on December 01, 2022Comments
-
Kyaw Thiha over 1 year
I want to always show the scroll bar below the datatable for the web version. But it's showing this error message:
The Scrollbar's ScrollController has no ScrollPosition attached.
and the scroll bar doesn't work.
Scrollbar( isAlwaysShown: true, controller: ScrollController(), thickness: 10, child: PaginatedDataTable( showCheckboxColumn: false, columns: generateColumns(), source: generateDataSources(), rowsPerPage: count.toInt()), );
-
ouflak over 2 yearsYour answer appear to be a duplicate of another answer. Please review any previous answers before answering a question on the site to be sure that you are not needlessly repeating information.