mobile add new input map mode radio

This commit is contained in:
csf
2022-09-27 22:56:18 +08:00
parent 77fcf2d4fa
commit 6b664d0965
2 changed files with 28 additions and 1 deletions

View File

@@ -817,8 +817,10 @@ class PermissionManager {
}
RadioListTile<T> getRadio<T>(
String name, T toValue, T curValue, void Function(T?) onChange) {
String name, T toValue, T curValue, void Function(T?) onChange,
{EdgeInsetsGeometry? contentPadding}) {
return RadioListTile<T>(
contentPadding: contentPadding,
controlAffinity: ListTileControlAffinity.trailing,
title: Text(translate(name)),
value: toValue,