MIF_E31222888/lib/pages/pemula/kamus/kamus_page.dart

68 lines
1.9 KiB
Dart

import 'package:bahasajepang/theme.dart';
import 'package:flutter/material.dart';
class KamusPage extends StatefulWidget {
const KamusPage({super.key});
@override
State<KamusPage> createState() => _KamusPageState();
}
class _KamusPageState extends State<KamusPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text(
'Kamus',
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 20,
),
),
backgroundColor: bgColor3,
elevation: 4,
shadowColor: bgColor2.withOpacity(0.5),
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(
bottom: Radius.circular(15),
),
),
centerTitle: true,
iconTheme: IconThemeData(color: Colors.white.withOpacity(0.9)),
),
backgroundColor: bgColor1,
body: Center(
child: Padding(
padding: const EdgeInsets.all(24.0),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(Icons.menu_book, size: 80, color: bgColor2),
const SizedBox(height: 24),
Text(
'Kamus Belum Tersedia',
style: TextStyle(
fontSize: 20,
fontWeight: FontWeight.bold,
color: Colors.grey.shade700,
),
textAlign: TextAlign.center,
),
const SizedBox(height: 12),
Text(
'Fitur kamus akan tersedia setelah Anda mencapai level tertentu.',
style: TextStyle(
fontSize: 16,
color: Colors.grey.shade600,
),
textAlign: TextAlign.center,
),
],
),
),
),
);
}
}