Modificação nos modos, correção de textos cortados
This commit is contained in:
@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import '../../../../core/theme/app_colors.dart';
|
||||
import '../../../../core/theme/app_theme_extension.dart';
|
||||
import '../../../../core/services/theme_service.dart';
|
||||
import '../../../../core/providers/theme_provider.dart';
|
||||
|
||||
@@ -34,16 +35,12 @@ class _SettingsPageState extends ConsumerState<SettingsPage> {
|
||||
begin: Alignment.topLeft,
|
||||
end: Alignment.bottomRight,
|
||||
colors: themeMode == ThemeMode.light
|
||||
? [
|
||||
const Color(0xFFD4E8E8),
|
||||
const Color(0xFFE8D4C0),
|
||||
const Color(0xFFD8E0E8),
|
||||
? const [
|
||||
Color(0xFFD4E8E8),
|
||||
Color(0xFFE8D4C0),
|
||||
Color(0xFFD8E0E8),
|
||||
]
|
||||
: [
|
||||
Theme.of(context).colorScheme.primary.withOpacity(0.1),
|
||||
Theme.of(context).colorScheme.secondary.withOpacity(0.05),
|
||||
Theme.of(context).colorScheme.background,
|
||||
],
|
||||
: AppThemeExtras.of(context).authBackgroundGradient,
|
||||
),
|
||||
),
|
||||
child: SafeArea(
|
||||
@@ -55,7 +52,10 @@ class _SettingsPageState extends ConsumerState<SettingsPage> {
|
||||
child: Row(
|
||||
children: [
|
||||
IconButton(
|
||||
icon: const Icon(Icons.arrow_back, color: Colors.white),
|
||||
icon: Icon(
|
||||
Icons.arrow_back,
|
||||
color: Theme.of(context).colorScheme.onSurface,
|
||||
),
|
||||
onPressed: () => context.go('/student-dashboard'),
|
||||
),
|
||||
Expanded(
|
||||
|
||||
Reference in New Issue
Block a user