mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-14 05:52:51 +00:00
New tab list access clients
This commit is contained in:
parent
6ebde52a7f
commit
4e65f80baf
3 changed files with 170 additions and 163 deletions
|
@ -12,6 +12,7 @@ class CustomTabContentList extends StatelessWidget {
|
|||
final Widget Function() errorGenerator;
|
||||
final LoadStatus loadStatus;
|
||||
final Future<void> Function() onRefresh;
|
||||
final double? refreshIndicatorOffset;
|
||||
final Widget? fab;
|
||||
final bool? fabVisible;
|
||||
|
||||
|
@ -24,6 +25,7 @@ class CustomTabContentList extends StatelessWidget {
|
|||
required this.errorGenerator,
|
||||
required this.loadStatus,
|
||||
required this.onRefresh,
|
||||
this.refreshIndicatorOffset,
|
||||
this.fab,
|
||||
this.fabVisible
|
||||
}) : super(key: key);
|
||||
|
@ -65,7 +67,7 @@ class CustomTabContentList extends StatelessWidget {
|
|||
builder: (BuildContext context) {
|
||||
return RefreshIndicator(
|
||||
onRefresh: onRefresh,
|
||||
edgeOffset: 95,
|
||||
edgeOffset: refreshIndicatorOffset ?? 95,
|
||||
child: CustomScrollView(
|
||||
slivers: <Widget>[
|
||||
SliverOverlapInjector(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue