Fab changes

This commit is contained in:
Juan Gilsanz Polo 2022-10-29 19:25:58 +02:00
parent 2ee2eafdca
commit 8907e712f3
3 changed files with 103 additions and 18 deletions

View file

@ -17,12 +17,14 @@ class ServersList extends StatefulWidget {
final BuildContext context;
final List<ExpandableController> controllers;
final Function(int) onChange;
final ScrollController scrollController;
const ServersList({
Key? key,
required this.context,
required this.controllers,
required this.onChange
required this.onChange,
required this.scrollController,
}) : super(key: key);
@override
@ -351,6 +353,7 @@ class _ServersListState extends State<ServersList> with SingleTickerProviderStat
return servers.isNotEmpty ?
ListView.builder(
controller: widget.scrollController,
itemCount: servers.length,
itemBuilder: (context, index) => Container(
decoration: BoxDecoration(