added @required decorator
This commit is contained in:
parent
0fb53e3314
commit
ea923b032c
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue