fix: spces bottom sheet not scrollable

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
TheOneWithTheBraid 2022-05-01 12:13:40 +02:00
parent 5b35d7d8b9
commit 1412e69fa9
2 changed files with 63 additions and 48 deletions

View File

@ -29,10 +29,10 @@ class SpacesDrawer extends StatelessWidget {
controller.snapBackSpacesSheet(); controller.snapBackSpacesSheet();
return false; return false;
}, },
child: ListView.builder( child: Column(
shrinkWrap: true, children: List.generate(
itemCount: spaceHierarchy.length, spaceHierarchy.length,
itemBuilder: (BuildContext context, int index) { (index) {
if (index == 0) { if (index == 0) {
return ListTile( return ListTile(
selected: currentIndex == index, selected: currentIndex == index,
@ -78,6 +78,7 @@ class SpacesDrawer extends StatelessWidget {
} }
}, },
), ),
),
); );
} }
} }

View File

@ -14,7 +14,7 @@ packages:
name: adaptive_dialog name: adaptive_dialog
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.4.0" version: "1.6.1"
adaptive_theme: adaptive_theme:
dependency: "direct main" dependency: "direct main"
description: description:
@ -878,6 +878,13 @@ packages:
description: flutter description: flutter
source: sdk source: sdk
version: "0.0.0" version: "0.0.0"
intersperse:
dependency: transitive
description:
name: intersperse
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
intl: intl:
dependency: "direct main" dependency: "direct main"
description: description:
@ -978,6 +985,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.2.2" version: "1.2.2"
macos_ui:
dependency: transitive
description:
name: macos_ui
url: "https://pub.dartlang.org"
source: hosted
version: "0.13.1"
markdown: markdown:
dependency: transitive dependency: transitive
description: description: