better linting
This commit is contained in:
parent
c7324a6b19
commit
aa31a79d20
26 changed files with 163 additions and 131 deletions
|
@ -8,10 +8,13 @@ class MultiValueListenableBuilder extends StatelessWidget {
|
|||
required this.builder,
|
||||
this.child,
|
||||
super.key,
|
||||
}) : assert(valueListenables.length != 0);
|
||||
}) : assert(
|
||||
valueListenables.length != 0,
|
||||
'Attached valueListenables must not be empty',
|
||||
);
|
||||
|
||||
/// List of [ValueListenable]s to be listened to.
|
||||
final List<ValueListenable> valueListenables;
|
||||
final List<ValueListenable<dynamic>> valueListenables;
|
||||
|
||||
/// The builder function to be called when value of any of the [ValueListenable] changes.
|
||||
/// The order of values list will be same as [valueListenables] list.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue