mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-26 01:10:39 +00:00
typo
This commit is contained in:
parent
2486c32213
commit
61620acf97
1 changed files with 1 additions and 4 deletions
|
@ -17,10 +17,7 @@ class SelectableInheritedModel<T> extends InheritedModel<SelectableAspect> {
|
||||||
bool updateShouldNotify(SelectableInheritedModel oldWidget) => true;
|
bool updateShouldNotify(SelectableInheritedModel oldWidget) => true;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool updateShouldNotifyDependent(
|
bool updateShouldNotifyDependent(SelectableInheritedModel oldWidget, Set<SelectableAspect> dependencies) {
|
||||||
SelectableInheritedModel oldWidget,
|
|
||||||
Set<SelectableAspect> dependencies,
|
|
||||||
) {
|
|
||||||
if (dependencies.contains(SelectableAspect.list)) {
|
if (dependencies.contains(SelectableAspect.list)) {
|
||||||
return true;
|
return true;
|
||||||
} else if (dependencies.contains(SelectableAspect.selected)) {
|
} else if (dependencies.contains(SelectableAspect.selected)) {
|
||||||
|
|
Loading…
Reference in a new issue