mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user