frosty/lib/core/settings/account_settings.dart
2021-12-29 19:54:32 -05:00

27 lines
748 B
Dart

import 'package:flutter/material.dart';
import 'package:frosty/core/auth/auth_store.dart';
import 'package:frosty/core/settings/profile_card.dart';
import 'package:frosty/core/settings/settings_store.dart';
import 'package:frosty/widgets/section_header.dart';
class AccountSettings extends StatelessWidget {
final SettingsStore settingsStore;
final AuthStore authStore;
const AccountSettings({
Key? key,
required this.settingsStore,
required this.authStore,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const SectionHeader('ACCOUNT'),
ProfileCard(authStore: authStore),
],
);
}
}