add padding to avoid overlaps with fab
This commit is contained in:
+1
-1
@@ -470,7 +470,7 @@ class _TabGrid extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return GridView.builder(
|
||||
controller: scrollController,
|
||||
padding: EdgeInsets.zero,
|
||||
padding: const EdgeInsets.only(bottom: 56),
|
||||
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
|
||||
//Sync values for itemHeight calculation _calculateItemHeight
|
||||
childAspectRatio: 0.75,
|
||||
|
||||
+2
-1
@@ -383,7 +383,7 @@ class _TabListView extends HookConsumerWidget {
|
||||
builder: (context, controller) {
|
||||
return !reorderEnabled
|
||||
? ListView.builder(
|
||||
padding: EdgeInsets.zero,
|
||||
padding: const EdgeInsets.only(bottom: 56),
|
||||
controller: scrollController,
|
||||
itemCount: displayItemCount,
|
||||
itemExtent: _itemHeight,
|
||||
@@ -437,6 +437,7 @@ class _TabListView extends HookConsumerWidget {
|
||||
)
|
||||
: ReorderableListView.builder(
|
||||
scrollController: controller,
|
||||
padding: const EdgeInsets.only(bottom: 56),
|
||||
itemCount: displayItemCount,
|
||||
itemExtent: _itemHeight,
|
||||
onReorderStart: (index) {
|
||||
|
||||
+1
-1
@@ -286,7 +286,7 @@ class ViewTabTreesWidget extends HookConsumerWidget {
|
||||
padding: const EdgeInsets.symmetric(horizontal: 4.0),
|
||||
child: GridView.builder(
|
||||
controller: scrollController,
|
||||
padding: EdgeInsets.zero,
|
||||
padding: const EdgeInsets.only(bottom: 56),
|
||||
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
|
||||
//Sync values for itemHeight calculation _calculateItemHeight
|
||||
childAspectRatio: 0.75,
|
||||
|
||||
Reference in New Issue
Block a user