opt select account (#1815)

* feat: switchAccountDialog pages simple-detaile

* update

Signed-off-by: dom <githubaccount56556@proton.me>

---------

Co-authored-by: dom <githubaccount56556@proton.me>
This commit is contained in:
систем
2026-01-29 22:06:10 +08:00
committed by GitHub
parent 058ff44e39
commit 9442b17d63
2 changed files with 110 additions and 51 deletions

View File

@@ -1,3 +1,4 @@
import 'package:PiliPlus/utils/platform_utils.dart';
import 'package:flutter/material.dart';
class RadioWidget<T> extends StatefulWidget {
@@ -61,17 +62,13 @@ class RadioWidgetState<T> extends State<RadioWidget<T>> with RadioClient<T> {
final child = Row(
mainAxisSize: widget.mainAxisSize,
children: [
Focus(
parentNode: focusNode,
canRequestFocus: false,
skipTraversal: true,
includeSemantics: true,
descendantsAreFocusable: false,
descendantsAreTraversable: false,
ExcludeFocus(
child: Radio<T>(
value: radioValue,
groupRegistry: _radioRegistry,
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
materialTapTargetSize: PlatformUtils.isDesktop
? .padded
: .shrinkWrap,
),
),
Text(widget.title),