mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-14 22:12:53 +00:00
Fixed issue listviews in tabs
This commit is contained in:
parent
b0310c2714
commit
02d1b18321
3 changed files with 82 additions and 64 deletions
|
@ -95,7 +95,11 @@ class _ClientsWidgetState extends State<ClientsWidget> with TickerProviderStateM
|
||||||
controller: scrollController,
|
controller: scrollController,
|
||||||
headerSliverBuilder: ((context, innerBoxIsScrolled) {
|
headerSliverBuilder: ((context, innerBoxIsScrolled) {
|
||||||
return [
|
return [
|
||||||
SliverAppBar(
|
SliverOverlapAbsorber(
|
||||||
|
handle: NestedScrollView.sliverOverlapAbsorberHandleFor(context),
|
||||||
|
sliver: SliverSafeArea(
|
||||||
|
top: false,
|
||||||
|
sliver: SliverAppBar(
|
||||||
title: Text(AppLocalizations.of(context)!.clients),
|
title: Text(AppLocalizations.of(context)!.clients),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
pinned: true,
|
pinned: true,
|
||||||
|
@ -114,6 +118,8 @@ class _ClientsWidgetState extends State<ClientsWidget> with TickerProviderStateM
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
),
|
||||||
|
),
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
}),
|
}),
|
||||||
|
|
|
@ -86,7 +86,11 @@ class _FiltersWidgetState extends State<FiltersWidget> with TickerProviderStateM
|
||||||
controller: scrollController,
|
controller: scrollController,
|
||||||
headerSliverBuilder: ((context, innerBoxIsScrolled) {
|
headerSliverBuilder: ((context, innerBoxIsScrolled) {
|
||||||
return [
|
return [
|
||||||
SliverAppBar(
|
SliverOverlapAbsorber(
|
||||||
|
handle: NestedScrollView.sliverOverlapAbsorberHandleFor(context),
|
||||||
|
sliver: SliverSafeArea(
|
||||||
|
top: false,
|
||||||
|
sliver: SliverAppBar(
|
||||||
title: Text(AppLocalizations.of(context)!.filters),
|
title: Text(AppLocalizations.of(context)!.filters),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
pinned: true,
|
pinned: true,
|
||||||
|
@ -109,6 +113,8 @@ class _FiltersWidgetState extends State<FiltersWidget> with TickerProviderStateM
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
),
|
||||||
|
),
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
}),
|
}),
|
||||||
|
|
|
@ -79,7 +79,11 @@ class _AccessSettingsWidgetState extends State<AccessSettingsWidget> with Ticker
|
||||||
controller: scrollController,
|
controller: scrollController,
|
||||||
headerSliverBuilder: ((context, innerBoxIsScrolled) {
|
headerSliverBuilder: ((context, innerBoxIsScrolled) {
|
||||||
return [
|
return [
|
||||||
SliverAppBar(
|
SliverOverlapAbsorber(
|
||||||
|
handle: NestedScrollView.sliverOverlapAbsorberHandleFor(context),
|
||||||
|
sliver: SliverSafeArea(
|
||||||
|
top: false,
|
||||||
|
sliver: SliverAppBar(
|
||||||
title: Text(AppLocalizations.of(context)!.accessSettings),
|
title: Text(AppLocalizations.of(context)!.accessSettings),
|
||||||
pinned: true,
|
pinned: true,
|
||||||
floating: true,
|
floating: true,
|
||||||
|
@ -101,6 +105,8 @@ class _AccessSettingsWidgetState extends State<AccessSettingsWidget> with Ticker
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
),
|
||||||
|
),
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue