MIF_E31222888/lib/pages/pemula/kanji/kanji_page.dart

63 lines
1.8 KiB
Dart

import 'package:bahasajepang/theme.dart';
import 'package:flutter/material.dart';
class KanjiPage extends StatelessWidget {
const KanjiPage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text(
'Kanji',
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: bgColor2.withOpacity(0.9)),
),
backgroundColor: bgColor1,
body: Center(
child: Padding(
padding: const EdgeInsets.all(24.0),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(Icons.text_snippet, size: 80, color: bgColor2),
const SizedBox(height: 24),
Text(
'Kanji Belum Tersedia',
style: TextStyle(
fontSize: 20,
fontWeight: FontWeight.bold,
color: Colors.grey.shade700,
),
textAlign: TextAlign.center,
),
const SizedBox(height: 12),
Text(
'Fitur kanji akan tersedia setelah Anda mencapai level yang sesuai.',
style: TextStyle(
fontSize: 16,
color: Colors.grey.shade600,
),
textAlign: TextAlign.center,
),
],
),
),
),
);
}
}