Skip to content

Commit

Permalink
[UPDATE] Add const for container list file
Browse files Browse the repository at this point in the history
  • Loading branch information
Louismaestre committed Nov 21, 2024
1 parent 4a36a50 commit 2959334
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import 'package:provider/provider.dart';
///
/// Page who list all the containers and users in the database
class ContainerPage extends StatefulWidget {
ContainerPage({this.fetchContainerFromServer, this.fetchItemFromServer});
const ContainerPage({this.fetchContainerFromServer, this.fetchItemFromServer});

final Future<List<Map<String, dynamic>>> Function()? fetchContainerFromServer;
final Future<List<Map<String, dynamic>>> Function()? fetchItemFromServer;
Expand Down

0 comments on commit 2959334

Please sign in to comment.