mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-14 05:52:51 +00:00
Adapted clients screen
This commit is contained in:
parent
5660aefdc5
commit
3c92457040
14 changed files with 1249 additions and 373 deletions
|
@ -16,6 +16,7 @@ class CustomTabContentList extends StatelessWidget {
|
|||
final Widget? fab;
|
||||
final bool? fabVisible;
|
||||
final bool? noSliver;
|
||||
final EdgeInsets? listPadding;
|
||||
|
||||
const CustomTabContentList({
|
||||
Key? key,
|
||||
|
@ -29,7 +30,8 @@ class CustomTabContentList extends StatelessWidget {
|
|||
this.refreshIndicatorOffset,
|
||||
this.fab,
|
||||
this.fabVisible,
|
||||
this.noSliver
|
||||
this.noSliver,
|
||||
this.listPadding
|
||||
}) : super(key: key);
|
||||
|
||||
@override
|
||||
|
@ -73,6 +75,7 @@ class CustomTabContentList extends StatelessWidget {
|
|||
return Stack(
|
||||
children: [
|
||||
ListView.builder(
|
||||
padding: listPadding,
|
||||
itemCount: itemsCount,
|
||||
itemBuilder: (context, index) => contentWidget(index),
|
||||
),
|
||||
|
@ -117,7 +120,7 @@ class CustomTabContentList extends StatelessWidget {
|
|||
builder: (BuildContext context) {
|
||||
return RefreshIndicator(
|
||||
onRefresh: onRefresh,
|
||||
edgeOffset: refreshIndicatorOffset ?? 95,
|
||||
edgeOffset: refreshIndicatorOffset ?? 70,
|
||||
child: CustomScrollView(
|
||||
slivers: <Widget>[
|
||||
SliverOverlapInjector(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue