// Author: fruit.com.cn import 'package:flutter/material.dart'; import '../../core/theme/app_colors.dart'; import '../../core/widgets/empty_state.dart'; import '../../core/widgets/plain_page_scaffold.dart'; import '../../l10n/app_localizations.dart'; /// 剧场预约页:暂无预约数据源,展示空态与即将上线说明。 class ReservePage extends StatelessWidget { const ReservePage({super.key}); @override Widget build(BuildContext context) { final l10n = AppLocalizations.of(context)!; return PlainPageScaffold( pageKey: const Key('reserve-page'), backKey: const Key('reserve-back'), title: l10n.reserve, subtitle: l10n.reserveSubtitle, child: Center( child: SingleChildScrollView( padding: const EdgeInsets.all(24), child: Column( mainAxisSize: MainAxisSize.min, children: [ EmptyState( key: const Key('reserve-empty'), icon: Icons.event_available_outlined, title: l10n.reserveEmptyTitle, subtitle: l10n.reserveEmptyHint, ), const SizedBox(height: 12), TextButton( onPressed: null, child: Text( l10n.comingSoon, style: const TextStyle(color: AppColors.subtle), ), ), ], ), ), ), ); } }