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) {
|
||||
return Theme(
|
||||
data: Theme.of(context).copyWith(
|
||||
|
|
|
@ -60,6 +60,7 @@ mixin SelectableItemStreamListMixin<T extends StatefulWidget>
|
|||
});
|
||||
}
|
||||
|
||||
@protected
|
||||
Widget buildItemStreamListOuter(
|
||||
BuildContext context, {
|
||||
@required Widget child,
|
||||
|
@ -78,6 +79,7 @@ mixin SelectableItemStreamListMixin<T extends StatefulWidget>
|
|||
}
|
||||
}
|
||||
|
||||
@protected
|
||||
Widget buildItemStreamList(BuildContext context) {
|
||||
// need to rebuild grid after cell size changed
|
||||
final cellSize = itemStreamListCellSize;
|
||||
|
@ -96,6 +98,7 @@ mixin SelectableItemStreamListMixin<T extends StatefulWidget>
|
|||
);
|
||||
}
|
||||
|
||||
@protected
|
||||
void onMaxExtentChanged(double newExtent) {}
|
||||
|
||||
@protected
|
||||
|
|
Loading…
Reference in a new issue