mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-09 07:28:14 -07:00
feat: Added option to use library posters instead of icons
This commit is contained in:
parent
a9cdd5c506
commit
f0216fa799
10 changed files with 160 additions and 39 deletions
|
|
@ -113,6 +113,7 @@ class ViewModel {
|
|||
FutureOr Function() action, {
|
||||
FutureOr Function()? onLongPress,
|
||||
List<ItemAction>? trailing,
|
||||
Widget? customIcon,
|
||||
}) {
|
||||
return NavigationButton(
|
||||
label: name,
|
||||
|
|
@ -121,6 +122,7 @@ class ViewModel {
|
|||
onLongPress: onLongPress,
|
||||
horizontal: horizontal,
|
||||
expanded: expanded,
|
||||
customIcon: customIcon,
|
||||
trailing: trailing ?? [],
|
||||
selectedIcon: Icon(collectionType.icon),
|
||||
icon: Icon(collectionType.iconOutlined),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue