Beállítás menü fix

This commit is contained in:
2026-06-13 01:15:48 +02:00
parent 49ec23c18e
commit 9838d6ed53

View File

@@ -1,3 +1,4 @@
import 'package:firka/ui/components/firka_card.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:majesticons_flutter/majesticons_flutter.dart';
@@ -26,19 +27,8 @@ void showExtrasBottomSheet(BuildContext context, AppInitialization data) {
child: SizedBox(
height: 60,
width: itemWidth,
child: FirkaShadow(
shadow: true,
child: Card(
color: appStyle.colors.card,
shadowColor: context.watch<ThemeCubit>().state.isLightMode
? null
: Colors.transparent,
child: Align(
alignment: Alignment.centerLeft,
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 12.0),
child: Row(
children: [
child: FirkaCard(
left: [
FirkaIconWidget(
FirkaIconType.majesticons,
Majesticon.bug2Solid,
@@ -54,11 +44,7 @@ void showExtrasBottomSheet(BuildContext context, AppInitialization data) {
),
),
],
),
),
),
),
),
)
),
);
}
@@ -130,25 +116,8 @@ void showExtrasBottomSheet(BuildContext context, AppInitialization data) {
child: SizedBox(
height: 60,
width: itemWidth,
child: FirkaShadow(
shadow: true,
child: Card(
color: appStyle.colors.card,
shadowColor:
context
.watch<ThemeCubit>()
.state
.isLightMode
? null
: Colors.transparent,
child: Align(
alignment: Alignment.centerLeft,
child: Padding(
padding: const EdgeInsets.symmetric(
horizontal: 12.0,
),
child: Row(
children: [
child: FirkaCard(
left: [
FirkaIconWidget(
FirkaIconType.majesticons,
Majesticon.userSolid,
@@ -159,19 +128,13 @@ void showExtrasBottomSheet(BuildContext context, AppInitialization data) {
Text(
data.l10n.s_your_account,
textAlign: TextAlign.right,
style: appStyle.fonts.B_16R
.apply(
color: appStyle
.colors
.textPrimary,
style: appStyle.fonts.B_16R.apply(
color:
appStyle.colors.textPrimary,
),
),
],
),
),
),
),
),
)
),
),
GestureDetector(
@@ -183,25 +146,8 @@ void showExtrasBottomSheet(BuildContext context, AppInitialization data) {
child: SizedBox(
height: 60,
width: itemWidth,
child: FirkaShadow(
shadow: true,
child: Card(
color: appStyle.colors.card,
shadowColor:
context
.watch<ThemeCubit>()
.state
.isLightMode
? null
: Colors.transparent,
child: Align(
alignment: Alignment.centerLeft,
child: Padding(
padding: const EdgeInsets.symmetric(
horizontal: 12.0,
),
child: Row(
children: [
child: FirkaCard(
left: [
FirkaIconWidget(
FirkaIconType.majesticons,
Majesticon.settingsCogSolid,
@@ -212,19 +158,13 @@ void showExtrasBottomSheet(BuildContext context, AppInitialization data) {
Text(
data.l10n.settings_screen,
textAlign: TextAlign.right,
style: appStyle.fonts.B_16R
.apply(
color: appStyle
.colors
.textPrimary,
style: appStyle.fonts.B_16R.apply(
color:
appStyle.colors.textPrimary,
),
),
],
),
),
),
),
),
)
),
),
// Ide jön a többi gomb majd