mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Mark mixin methods as protected
This commit is contained in:
parent
e5ce085f28
commit
aee0c06834
2 changed files with 4 additions and 0 deletions
|
@ -101,6 +101,7 @@ mixin AlbumViewerMixin<T extends StatefulWidget>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@protected
|
||||||
Widget buildSelectionAppBar(BuildContext context, List<Widget> actions) {
|
Widget buildSelectionAppBar(BuildContext context, List<Widget> actions) {
|
||||||
return Theme(
|
return Theme(
|
||||||
data: Theme.of(context).copyWith(
|
data: Theme.of(context).copyWith(
|
||||||
|
|
|
@ -60,6 +60,7 @@ mixin SelectableItemStreamListMixin<T extends StatefulWidget>
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@protected
|
||||||
Widget buildItemStreamListOuter(
|
Widget buildItemStreamListOuter(
|
||||||
BuildContext context, {
|
BuildContext context, {
|
||||||
@required Widget child,
|
@required Widget child,
|
||||||
|
@ -78,6 +79,7 @@ mixin SelectableItemStreamListMixin<T extends StatefulWidget>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@protected
|
||||||
Widget buildItemStreamList(BuildContext context) {
|
Widget buildItemStreamList(BuildContext context) {
|
||||||
// need to rebuild grid after cell size changed
|
// need to rebuild grid after cell size changed
|
||||||
final cellSize = itemStreamListCellSize;
|
final cellSize = itemStreamListCellSize;
|
||||||
|
@ -96,6 +98,7 @@ mixin SelectableItemStreamListMixin<T extends StatefulWidget>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@protected
|
||||||
void onMaxExtentChanged(double newExtent) {}
|
void onMaxExtentChanged(double newExtent) {}
|
||||||
|
|
||||||
@protected
|
@protected
|
||||||
|
|
Loading…
Reference in a new issue