26 lines
646 B
Dart
26 lines
646 B
Dart
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),
|
|
),
|
|
)),
|
|
);
|
|
}
|
|
}
|