fix : update local.properties path and improve null safety in chicken_local_imp.dart and chicken_repository_imp.dart; refactor profile view for better readability

This commit is contained in:
2025-10-19 09:47:33 +03:30
parent 464dacc39b
commit 6e4e3159d1
17 changed files with 3183 additions and 362 deletions

View File

@@ -0,0 +1,32 @@
import 'package:flutter_test/flutter_test.dart';
/// Test configuration for the chicken package
class TestConfig {
static const String testToken = 'test-token-12345';
static const String testPhoneNumber = '09123456789';
static const String testDeviceName = 'Test Device';
static const Map<String, dynamic> testAuthRequest = {
'username': 'test@example.com',
'password': 'testpassword123',
};
static const Map<String, dynamic> testQueryParameters = {
'page': '1',
'limit': '10',
};
static const String testStartDate = '2024-01-01';
static const String testEndDate = '2024-01-31';
/// Setup method for test initialization
static void setupTests() {
// Configure test environment
TestWidgetsFlutterBinding.ensureInitialized();
}
/// Cleanup method for test teardown
static void cleanupTests() {
// Clean up test resources
}
}