Theme Mode #2

This commit is contained in:
2025-09-03 15:51:44 +05:30
parent d9f78629d2
commit 52534f9210
16 changed files with 124 additions and 56 deletions

View File

@@ -2,7 +2,6 @@ import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import '../../../l10n/app_localizations.dart';
class BlockCardScreen extends StatefulWidget {
const BlockCardScreen({super.key});
@@ -61,7 +60,7 @@ class _BlockCardScreen extends State<BlockCardScreen> {
const TextStyle(color: Colors.black, fontWeight: FontWeight.w500),
),
centerTitle: false,
),
),
body: Padding(
padding: const EdgeInsets.all(10.0),
child: Form(

View File

@@ -161,4 +161,4 @@ class CardTile extends StatelessWidget {
),
);
}
}
}

View File

@@ -59,7 +59,7 @@ class _CardManagementScreen extends State<CardManagementScreen> {
},
),
const Divider(height: 1),
CardManagementTile(
CardManagementTile(
icon: Symbols.payment_card,
label: AppLocalizations.of(context).viewCardDeatils,
onTap: () {
@@ -78,7 +78,6 @@ class _CardManagementScreen extends State<CardManagementScreen> {
}
}
class CardManagementTile extends StatelessWidget {
final IconData icon;
final String label;

View File

@@ -50,7 +50,7 @@ class _CardPinChangeDetailsScreen extends State<CardPinChangeDetailsScreen> {
const TextStyle(color: Colors.black, fontWeight: FontWeight.w500),
),
centerTitle: false,
),
),
body: Padding(
padding: const EdgeInsets.all(10.0),
child: Form(

View File

@@ -50,7 +50,7 @@ class _CardPinSetScreen extends State<CardPinSetScreen> {
const TextStyle(color: Colors.black, fontWeight: FontWeight.w500),
),
centerTitle: false,
),
),
body: Padding(
padding: const EdgeInsets.all(16.0),
child: Form(