flutter_project_kit 0.0.4
flutter_project_kit: ^0.0.4 copied to clipboard
'Package Description Overview The App Essentials Package is a comprehensive solution designed to streamline and enhance your Flutter application development process. This package handles critical aspe [...]
0.0.4 #
✨ New Features #
- Theme System Upgrade: Added support for passing initial theme mode (
ThemeMode.light
,ThemeMode.dark
, etc.) viaProKitApp
. - Theme Persistence: Theme preferences now persist using
ProKitPrefManager
. - Dynamic AppBar: Introduced
ProKitAppBar
, a fully dynamic and customizable AppBar widget with support for trailing buttons, icons, or widgets. - Dropdown Widget Examples: Added example implementations of
DropdownButtonFormField
within the package demo screens.
🛠️ Improvements #
- Theme Provider Enhancement:
ProKitThemeProvider
now supportsinitializeTheme(force: true)
to override saved preferences. - Opacity Migration: Replaced deprecated
.withOpacity()
with.withValues(alpha: x)
for color transparency in compliance with latest Flutter SDK.
✅ Bug Fixes #
- Fixed theme fallback issue when a saved theme preference existed.
- Cleaned up redundant logic from
ProKitApp
initialization phase.
0.0.3 #
- Code Refactoring: Cleaned up and optimized code for better readability and maintainability.
- Responsiveness: Improved responsiveness by integrating the
SizeConfig
class for dynamic layout adjustments. - State Management: Integrated
Provider
for managing state where necessary in the widget classes. - Add SnackBar: Integrated
Provider
for managing state where necessary in the widget classes.
0.0.2 #
Features #
- ProKitButton: Added support for customization including button color, icon, and onPressed callback. Enhanced flexibility with configurable options.
- ProKitTextField: Introduced various text field types including standard, URL, auto-suggest, and tag input fields. Added options for prefix and suffix icons, text input types (email, number, text), and dynamic styling.
- SizeConfig: Implemented responsive sizing using
w
andh
extensions for different device types (mobile, tablet, desktop). Ensured consistent UI scaling across different screen sizes. - Improved Documentation: Enhanced comments and usage examples to assist developers in utilizing the new features effectively.
Improvements #
- Code Refactoring: Cleaned up and optimized code for better readability and maintainability.
- Responsiveness: Improved responsiveness by integrating the
SizeConfig
class for dynamic layout adjustments. - State Management: Integrated
Provider
for managing state where necessary in the widget classes.
Bug Fixes #
- Fixed minor bugs related to widget rendering and state management.
- Addressed null checks and error handling to ensure robust functionality.