mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
opt: set repeat ui (#1854)
This commit is contained in:
committed by
GitHub
parent
a375d8525f
commit
348bc8b920
@@ -24,6 +24,7 @@ class PopupListTile<T> extends StatefulWidget {
|
||||
required this.value,
|
||||
required this.itemBuilder,
|
||||
required this.onSelected,
|
||||
this.descFontSize = 13,
|
||||
});
|
||||
|
||||
final bool? dense;
|
||||
@@ -36,6 +37,7 @@ class PopupListTile<T> extends StatefulWidget {
|
||||
final ValueGetter<(T, String)> value;
|
||||
final PopupMenuItemBuilder<T> itemBuilder;
|
||||
final PopupMenuItemSelected<T> onSelected;
|
||||
final double descFontSize;
|
||||
|
||||
@override
|
||||
State<PopupListTile<T>> createState() => _PopupListTileState<T>();
|
||||
@@ -88,7 +90,7 @@ class _PopupListTileState<T> extends State<PopupListTile<T>> {
|
||||
final desc = Text(
|
||||
descStr,
|
||||
style: TextStyle(
|
||||
fontSize: 13,
|
||||
fontSize: widget.descFontSize,
|
||||
color: widget.enabled
|
||||
? theme.colorScheme.secondary
|
||||
: theme.disabledColor,
|
||||
|
||||
Reference in New Issue
Block a user