added @required decorator

This commit is contained in:
shilangyu 2020-09-18 23:29:38 +02:00
parent 0fb53e3314
commit ea923b032c
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ class InfiniteScroll<T> extends HookWidget {
this.batchSize = 10,
this.loadingWidget =
const ListTile(title: Center(child: CircularProgressIndicator())),
this.builder,
this.fetchMore,
@required this.builder,
@required this.fetchMore,
this.controller,
}) : assert(builder != null),
assert(fetchMore != null),