mirror of
https://github.com/nostrlabs-io/zap-stream-flutter.git
synced 2025-06-15 11:48:21 +00:00
27 lines
748 B
Dart
27 lines
748 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:go_router/go_router.dart';
|
|
import 'package:zap_stream_flutter/i18n/strings.g.dart';
|
|
import 'package:zap_stream_flutter/widgets/button.dart';
|
|
|
|
class SettingsPage extends StatelessWidget {
|
|
const SettingsPage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Column(
|
|
spacing: 8,
|
|
children: [
|
|
Text(t.button.settings, style: TextStyle(fontSize: 24)),
|
|
BasicButton.text(
|
|
t.settings.button_profile,
|
|
onTap: (context) => context.push("/settings/profile"),
|
|
),
|
|
BasicButton.text(
|
|
t.settings.button_wallet,
|
|
onTap: (context) => context.push("/settings/wallet"),
|
|
),
|
|
],
|
|
);
|
|
}
|
|
}
|