app/lib/ui/party_room/party_room_ui.dart

42 lines
1.2 KiB
Dart
Raw Permalink Normal View History

2024-03-10 17:25:26 +08:00
import 'package:flutter/material.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
2024-03-15 00:01:06 +08:00
import 'package:starcitizen_doctor/generated/l10n.dart';
2024-03-10 17:25:26 +08:00
import 'package:url_launcher/url_launcher_string.dart';
class PartyRoomUI extends HookConsumerWidget {
const PartyRoomUI({super.key});
@override
Widget build(BuildContext context, WidgetRef ref) {
return Center(
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
2024-03-15 00:01:06 +08:00
Text(
S.current.lobby_online_lobby_coming_soon,
style: const TextStyle(fontSize: 20),
2024-03-10 17:25:26 +08:00
),
const SizedBox(height: 12),
GestureDetector(
onTap: () {
launchUrlString("https://wj.qq.com/s2/14112124/f4c8/");
},
2024-03-15 00:01:06 +08:00
child: Row(
2024-03-10 17:25:26 +08:00
mainAxisSize: MainAxisSize.min,
children: [
2024-03-15 00:01:06 +08:00
Text(S.current.lobby_invitation_to_participate),
2024-03-10 17:25:26 +08:00
Text(
2024-03-15 00:01:06 +08:00
S.current.lobby_survey,
style: const TextStyle(
2024-03-10 17:25:26 +08:00
color: Colors.blue,
),
)
],
),
),
],
),
);
}
}