redesign for settings page

This commit is contained in:
Arseni
2026-03-13 23:01:57 +03:00
parent 70bd7a6214
commit d601f245d4
36 changed files with 1151 additions and 262 deletions

View File

@@ -0,0 +1,31 @@
import 'package:flutter/material.dart';
import 'package:pweb/pages/settings/profile/actions/buttons_layout.dart';
import 'package:pweb/pages/settings/profile/actions/language_button.dart';
import 'package:pweb/pages/settings/profile/actions/name_button.dart';
import 'package:pweb/pages/settings/profile/actions/password_button.dart';
class ProfileActionButtons extends StatelessWidget {
const ProfileActionButtons({
super.key,
required this.nameLabel,
required this.languageLabel,
required this.passwordLabel,
});
final String nameLabel;
final String languageLabel;
final String passwordLabel;
@override
Widget build(BuildContext context) {
return ProfileActionButtonsLayout(
children: [
ProfileNameActionButton(label: nameLabel),
ProfileLanguageActionButton(label: languageLabel),
ProfilePasswordActionButton(label: passwordLabel),
],
);
}
}