use slivers with sticky header for tab sheet

This commit is contained in:
Fabian Freund
2024-07-02 11:03:12 +02:00
parent 42c7d0ebdc
commit 2c9b68beef
2 changed files with 150 additions and 46 deletions
@@ -396,9 +396,13 @@ class KagiScreen extends HookConsumerWidget {
minChildSize: 0.1,
maxChildSize: _realtiveSafeArea(context),
builder: (context, scrollController) {
return SingleChildScrollView(
controller: scrollController,
return ClipRRect(
borderRadius: const BorderRadius.only(
topLeft: Radius.circular(28),
topRight: Radius.circular(28),
),
child: ViewTabsSheet(
sheetScrollController: scrollController,
onClose: () {
ref.read(bottomSheetProvider.notifier).dismiss();
},