feat(features): refontes adhesions/admin/auth/backup/contributions/dashboard/epargne/events
- adhesions : bloc complet avec events/states/model, dialogs paiement/rejet - admin : users bloc, user management list/detail pages - authentication : bloc + keycloak auth service + webview - backup : bloc complet, repository, models - contributions : bloc + widgets + export - dashboard : widgets connectés (activities, events, notifications, search) + charts + monitoring + shortcuts - epargne : repository, transactions, dialogs - events : bloc complet, pages (detail, connected, wrapper), models
This commit is contained in:
@@ -56,7 +56,7 @@ class DashboardChartWidget extends StatelessWidget {
|
||||
children: [
|
||||
Icon(
|
||||
_getChartIcon(),
|
||||
color: AppColors.primaryGreen,
|
||||
color: AppColors.primary,
|
||||
size: 18,
|
||||
),
|
||||
const SizedBox(width: 8),
|
||||
@@ -100,12 +100,12 @@ class DashboardChartWidget extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
PieChartSectionData(
|
||||
color: AppColors.lightBorder,
|
||||
color: AppColors.border,
|
||||
value: (stats.totalMembers - stats.activeMembers).toDouble(),
|
||||
title: '${stats.totalMembers - stats.activeMembers}',
|
||||
radius: 45,
|
||||
titleStyle: AppTypography.badgeText.copyWith(
|
||||
color: AppColors.textSecondaryLight,
|
||||
color: AppColors.textSecondary,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
@@ -123,7 +123,7 @@ class DashboardChartWidget extends StatelessWidget {
|
||||
horizontalInterval: stats.totalContributionAmount / 4,
|
||||
getDrawingHorizontalLine: (value) {
|
||||
return const FlLine(
|
||||
color: AppColors.lightBorder,
|
||||
color: AppColors.border,
|
||||
strokeWidth: 1,
|
||||
);
|
||||
},
|
||||
@@ -174,8 +174,8 @@ class DashboardChartWidget extends StatelessWidget {
|
||||
isCurved: true,
|
||||
gradient: const LinearGradient(
|
||||
colors: [
|
||||
AppColors.brandGreen,
|
||||
AppColors.primaryGreen,
|
||||
AppColors.primaryDark,
|
||||
AppColors.primary,
|
||||
],
|
||||
),
|
||||
barWidth: 3,
|
||||
@@ -185,8 +185,8 @@ class DashboardChartWidget extends StatelessWidget {
|
||||
show: true,
|
||||
gradient: LinearGradient(
|
||||
colors: [
|
||||
AppColors.brandGreen.withOpacity(0.3),
|
||||
AppColors.primaryGreen.withOpacity(0.1),
|
||||
AppColors.primaryDark.withOpacity(0.3),
|
||||
AppColors.primary.withOpacity(0.1),
|
||||
],
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
@@ -314,13 +314,13 @@ class DashboardChartWidget extends StatelessWidget {
|
||||
Widget _buildLoadingChart() {
|
||||
return Container(
|
||||
decoration: BoxDecoration(
|
||||
color: AppColors.lightBorder.withOpacity(0.5),
|
||||
color: AppColors.border.withOpacity(0.5),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
),
|
||||
child: const Center(
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 2,
|
||||
valueColor: AlwaysStoppedAnimation<Color>(AppColors.primaryGreen),
|
||||
valueColor: AlwaysStoppedAnimation<Color>(AppColors.primary),
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -359,7 +359,7 @@ class DashboardChartWidget extends StatelessWidget {
|
||||
Widget _buildEmptyChart() {
|
||||
return Container(
|
||||
decoration: BoxDecoration(
|
||||
color: AppColors.lightBorder.withOpacity(0.2),
|
||||
color: AppColors.border.withOpacity(0.2),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
),
|
||||
child: Center(
|
||||
@@ -368,7 +368,7 @@ class DashboardChartWidget extends StatelessWidget {
|
||||
children: [
|
||||
const Icon(
|
||||
Icons.bar_chart_outlined,
|
||||
color: AppColors.textSecondaryLight,
|
||||
color: AppColors.textSecondary,
|
||||
size: 24,
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
|
||||
Reference in New Issue
Block a user