- UI and Layout
- Network and API
- Storage and Data
- Authentication and Security
- App Configuration and Management
- User Input and Validation
- Analytics and Monitoring
Utilities for responsive design and theme management.
- responsive_layout_helper.dart: Helps create responsive layouts that adapt to different screen sizes and orientations.
- theme_switcher.dart: Manages theme switching between light, dark, and system modes.
Utilities for handling network operations and API communication.
- api_service.dart: A service for making API requests with error handling and response parsing.
- network_connectivity_monitor.dart: Monitors network connectivity status and changes.
- deep_link_handler.dart: Handles deep links and app links for navigation.
Utilities for data persistence and management.
- local_database_helper.dart: Helper for local database operations using SQLite.
- secure_storage_helper.dart: Securely stores sensitive data like tokens and credentials.
- image_cache_manager.dart: Manages caching of images for better performance.
Utilities for user authentication and security.
- biometric_auth_helper.dart: Handles biometric authentication (fingerprint, face ID).
Utilities for app configuration, updates, and performance.
- app_config_manager.dart: Manages app configuration and environment variables.
- app_update_checker.dart: Checks for app updates and prompts users.
- app_rating_prompt.dart: Prompts users to rate the app at appropriate times.
- app_performance_monitor.dart: Monitors app performance metrics.
Utilities for handling user input and permissions.
- form_validator.dart: Validates form inputs with customizable rules.
- file_picker_helper.dart: Simplifies file picking operations.
- permission_handler_utility.dart: Manages app permissions requests and status.
Utilities for analytics and error reporting.
- firebase_analytics_helper.dart: Helper for Firebase Analytics integration.
- error_reporting_utility.dart: Reports and logs errors for debugging.
Making it easier to generate all flutter builds.
This script automates Flutter project builds with flavor and type options. It allows you to customize the number of flavors, flavor names, entry points, and build types.
- Flutter installed and configured.
- Bash shell environment.
demo.mp4
--use-defaults
: Use default values.--no-flavor
: Build without flavors.
- Default:
./release_builds.sh
- For zsh:
sh release_builds.sh
- The script allows you to customize the number of flavors, flavor names, entry points, and build types.
- Use --use-defaults for quick builds with default values.
- Use --no-flavor if you don't want to use flavors. In this case, the script will prompt you to select build types directly.
- The script creates timestamped build directories in the /builds folder.
- Open the latest build directory automatically using open builds/$current_date_time.
This script helps you clean up your Flutter project by removing assets that are no longer referenced in your code.
-
Run the script:
sh remove_unused_assets.sh
-
Enter the location of the assets folder when prompted.
-
The script will search for unused assets in the specified folder and its subdirectories.
-
Unused assets will be deleted.
-
Make sure to backup your project before running this script.
-
This script assumes your Flutter project is structured with a
lib
folder containing your source code. -
The script checks for references to each asset in the
lib
folder and its subdirectories.
# Enter the location of the assets folder
Enter the location of the assets folder: assets
# Output
Searching for unused assets in assets...
No references found for assets/image.png. Deleting...
No references found for assets/icon.svg. Deleting...
Finished cleaning unused assets.
Script to help manage app localization files.
-
Run the script:
sh localization_helper.sh
-
Follow the prompts to manage your app's localization files.
To use these utilities in your Flutter project:
-
Copy the desired utility files from their respective folders into your project.
-
Make any necessary adjustments to imports or package references to match your project structure.
-
Use the utilities in your code as needed.