refactoring

This commit is contained in:
dahoud
2026-03-31 09:14:47 +00:00
parent 9bfffeeebe
commit 5383df6dcb
200 changed files with 11192 additions and 7063 deletions

View File

@@ -97,7 +97,7 @@ class _UserDetailContentState extends State<_UserDetailContent> {
}
},
child: SingleChildScrollView(
padding: const EdgeInsets.all(16),
padding: const EdgeInsets.all(12),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
@@ -121,7 +121,7 @@ class _UserDetailContentState extends State<_UserDetailContent> {
],
),
),
const SizedBox(height: 16),
const SizedBox(height: 8),
Text(
'RÔLES (SÉLECTION)',
style: AppTypography.subtitleSmall.copyWith(
@@ -149,7 +149,7 @@ class _UserDetailContentState extends State<_UserDetailContent> {
},
);
}),
const SizedBox(height: 24),
const SizedBox(height: 12),
UFPrimaryButton(
label: 'Enregistrer les rôles',
onPressed: () {
@@ -158,9 +158,9 @@ class _UserDetailContentState extends State<_UserDetailContent> {
);
},
),
const SizedBox(height: 24),
const SizedBox(height: 12),
const Divider(height: 1),
const SizedBox(height: 16),
const SizedBox(height: 8),
Text(
'ASSOCIER À UNE ORGANISATION',
style: AppTypography.subtitleSmall.copyWith(

View File

@@ -181,7 +181,7 @@ class _UserManagementViewState extends State<_UserManagementView> {
Widget _buildPagination(BuildContext context, AdminUsersLoaded state) {
if (state.totalPages <= 1) return const SizedBox(height: 24);
return Padding(
padding: const EdgeInsets.all(16),
padding: const EdgeInsets.all(8),
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [