Refactoring - Version OK
This commit is contained in:
@@ -7,8 +7,8 @@ library members_page_connected;
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
|
||||
import '../../../../core/auth/bloc/auth_bloc.dart';
|
||||
import '../../../../core/auth/models/user_role.dart';
|
||||
import '../../../../features/authentication/presentation/bloc/auth_bloc.dart';
|
||||
import '../../../../features/authentication/data/models/user_role.dart';
|
||||
import '../../../../core/utils/logger.dart';
|
||||
import '../widgets/add_member_dialog.dart';
|
||||
import '../../bloc/membres_bloc.dart';
|
||||
@@ -52,15 +52,15 @@ class _MembersPageWithDataState extends State<MembersPageWithData>
|
||||
|
||||
// État de l'interface
|
||||
String _searchQuery = '';
|
||||
String _selectedFilter = 'Tous';
|
||||
final String _selectedSort = 'Nom';
|
||||
|
||||
|
||||
bool _isGridView = false;
|
||||
bool _showAdvancedFilters = false;
|
||||
|
||||
|
||||
// Filtres avancés
|
||||
final List<String> _selectedRoles = [];
|
||||
List<String> _selectedStatuses = ['Actif', 'Inactif', 'Suspendu', 'En attente'];
|
||||
DateTimeRange? _dateRange;
|
||||
|
||||
final List<String> _selectedStatuses = ['Actif', 'Inactif', 'Suspendu', 'En attente'];
|
||||
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
@@ -740,12 +740,7 @@ class MembersPageWithDataAndPagination extends StatefulWidget {
|
||||
|
||||
class _MembersPageWithDataAndPaginationState extends State<MembersPageWithDataAndPagination> {
|
||||
final TextEditingController _searchController = TextEditingController();
|
||||
late TabController _tabController;
|
||||
String _searchQuery = '';
|
||||
String _selectedFilter = 'Tous';
|
||||
bool _isGridView = false;
|
||||
final List<String> _selectedRoles = [];
|
||||
List<String> _selectedStatuses = ['Actif', 'Inactif', 'Suspendu', 'En attente'];
|
||||
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
|
||||
Reference in New Issue
Block a user