forked from firka/firka
Beállítás menü fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user