added localization
This commit is contained in:
0
lib/pages/create_page.dart
Normal file
0
lib/pages/create_page.dart
Normal file
25
lib/pages/dashboard_page.dart
Normal file
25
lib/pages/dashboard_page.dart
Normal file
@@ -0,0 +1,25 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|
||||
|
||||
class DashboardPage extends StatelessWidget {
|
||||
const DashboardPage({super.key});
|
||||
|
||||
static const routeName = '/dashboard';
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text(AppLocalizations.of(context)?.helloWorld ?? ''),
|
||||
),
|
||||
bottomNavigationBar: BottomAppBar(
|
||||
child: Align(
|
||||
alignment: Alignment.centerRight,
|
||||
child: FloatingActionButton(
|
||||
onPressed: () {},
|
||||
child: const Icon(Icons.add),
|
||||
),
|
||||
)),
|
||||
);
|
||||
}
|
||||
}
|
||||
0
lib/pages/overview_page.dart
Normal file
0
lib/pages/overview_page.dart
Normal file
Reference in New Issue
Block a user