Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-23 16:47:11 +08:00
parent 148e0872b4
commit 418a1e8d39
821 changed files with 29467 additions and 25520 deletions

View File

@@ -82,7 +82,8 @@ class _SharePanelState extends State<SharePanel> {
Widget build(BuildContext context) {
final theme = Theme.of(context);
return Padding(
padding: const EdgeInsets.all(12) +
padding:
const EdgeInsets.all(12) +
MediaQuery.paddingOf(context) +
MediaQuery.viewInsetsOf(context),
child: Column(
@@ -150,8 +151,9 @@ class _SharePanelState extends State<SharePanel> {
width: 50,
height: 50,
decoration: BoxDecoration(
color: theme.colorScheme.primary
.withValues(alpha: 0.3),
color: theme.colorScheme.primary.withValues(
alpha: 0.3,
),
shape: BoxShape.circle,
border: Border.all(
width: 1.5,
@@ -235,8 +237,10 @@ class _SharePanelState extends State<SharePanel> {
),
filled: true,
isDense: true,
contentPadding:
const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
contentPadding: const EdgeInsets.symmetric(
horizontal: 16,
vertical: 8,
),
fillColor: theme.colorScheme.onInverseSurface,
),
inputFormatters: [LengthLimitingTextInputFormatter(100)],
@@ -257,8 +261,10 @@ class _SharePanelState extends State<SharePanel> {
},
style: FilledButton.styleFrom(
tapTargetSize: MaterialTapTargetSize.shrinkWrap,
visualDensity:
const VisualDensity(horizontal: -2, vertical: -1),
visualDensity: const VisualDensity(
horizontal: -2,
vertical: -1,
),
),
child: const Text('发送'),
),