为什么这个的高度不会跟着窗口改变？


```
@override
  Widget build(BuildContext context) {
    final theme = Theme.of(context);

    return Scaffold(
        body: Center(
      child: SingleChildScrollView(
        // 添加滚动支持
        child: Card(
          margin: const EdgeInsets.all(24),
          elevation: 6,
          shape:
              RoundedRectangleBorder(borderRadius: BorderRadius.circular(18)),
          child: Padding(
            padding: const EdgeInsets.all(24.0),
            child: Column(
              mainAxisSize: MainAxisSize.min,
              crossAxisAlignment: CrossAxisAlignment.start,
              children: [
                // 顶部说明
                Row(
                  children: [
                    Icon(Icons.translate,
                        color: theme.colorScheme.primary, size: 32),
                    const SizedBox(width: 12),
                    Expanded(
                      child: Text(
                        '一键下载并安装 Unturned 汉化包',
                        style: theme.textTheme.titleLarge
                            ?.copyWith(fontWeight: FontWeight.bold),
                      ),
                    ),
                  ],
                ),
                const SizedBox(height: 16),
                Text(
                  '请依次选择游戏目录和 SteamCMD 目录，然后点击下方按钮自动完成汉化包安装。',
                  style: theme.textTheme.bodyMedium,
                ),
                const SizedBox(height: 24),

                // 步骤指示
                Stepper(
                  currentStep: _currentStep,
                  onStepTapped: (i) => setState(() => _currentStep = i),
                  controlsBuilder: (context, details) =>
                      const SizedBox.shrink(),
                  steps: [
                    Step(
                      title: const Text('选择游戏目录'),
                      content: PathSelector(
                        label: '游戏安装目录',
                        path: _gamePath,
                        onPick: _pickGamePath,
                      ),
                      isActive: _currentStep == 0,
                      state: _gamePath != null
                          ? StepState.complete
                          : StepState.indexed,
                    ),
                    Step(
                      title: const Text('选择 SteamCMD 目录'),
                      content: Column(
                        crossAxisAlignment: CrossAxisAlignment.start,
                        mainAxisSize: MainAxisSize.min,
                        children: [
                          PathSelector(
                            label: 'SteamCMD 路径',
                            path: _steamCmdPath,
                            onPick: _pickSteamCmdPath,
                            validator: () {
                              if (_steamCmdPath != null &&
                                  !_isSteamCmdExist(_steamCmdPath)) {
                                return 'SteamCMD 不存在';
                              }
                              return null;
                            },
                          ),
                          if (_steamCmdPath == null ||
                              !_isSteamCmdExist(_steamCmdPath))
                            Padding(
                              padding: const EdgeInsets.only(top: 8.0),
                              child: GestureDetector(
                                onTap: () {
                                  // 这里可以打开下载链接
                                },
                                child: Text(
                                  '⚠️ 未检测到 SteamCMD，点击此处下载',
                                  style: TextStyle(
                                    color:
                                        Theme.of(context).colorScheme.primary,
                                    decoration: TextDecoration.underline,
                                  ),
                                ),
                              ),
                            ),
                        ],
                      ),
                      isActive: _currentStep == 1,
                      state: _steamCmdPath != null &&
                              _isSteamCmdExist(_steamCmdPath)
                          ? StepState.complete
                          : StepState.indexed,
                    ),
                    Step(
                      title: const Text('安装汉化包'),
                      content: InstallSection(
                        isInstalling: _isInstalling,
                        downloadProgress: _downloadProgress,
                        onInstall: _downloadAndInstall,
                        isInstallEnabled:
                            _gamePath != null && _steamCmdPath != null,
                      ),
                      isActive: _currentStep == 2,
                      state: _isInstalling
                          ? StepState.editing
                          : (_gamePath != null && _steamCmdPath != null
                              ? StepState.indexed
                              : StepState.disabled),
                    ),
                  ],
                ),
              ],
            ),
          ),
        ),
      ),
    ));
  }
```