rtbase 1.0.5
rtbase: ^1.0.5 copied to clipboard
RulTech Base Project
Changelog #
1.0.5 #
Platform Updates #
- Updated Android Gradle Plugin (AGP) from 8.7.3 to 8.9.1 in example app to satisfy latest AndroidX dependency requirements
- Updated Flutter SDK requirement to v3.41.4 (Dart 3.11.1)
1.0.4 #
Deprecation Fixes #
- Fixed deprecated
withOpacityusage inrt_horizontal_week_calendar.dartby replacing withwithValues(alpha:)to avoid precision loss - Updated documentation comments to reflect modern Flutter API usage
Code Quality Improvements #
- Added proper return type declarations to methods across multiple widget files
- Added
voidreturn types to functions inrt_common_function.dart,rt_common_widgets.dart, and button widgets - Added
BuildContexttype annotations to context parameters throughout the codebase - Added
ButtonStyle,InputDecoration, andTextreturn types where missing - Improved type safety in
calculateDistancemethod with proper dynamic parameter types
Refactoring & File Organization #
- Renamed
rt_appFontFamily.darttort_app_font_family.dartfor consistent naming convention - Renamed
rt_easyImageView.darttort_easy_image_view.dart - Renamed
textField_input_formatter.darttotext_field_input_formatter.dart - Updated all imports to reflect new file names
Bug Fixes #
- Fixed async/await issue in
requestLocationPermissionmethod inrt_permission_service.dart - Removed unused
disposemethod inrt_linear_progress_indicator.dart - Removed extra blank line in
rt_base_deeplink.dart - Fixed
GetStorageManagerto use publicstorageproperty instead of private_storage
Code Cleanup #
- Removed commented-out TODO in
rt_base_view.dart - Removed duplicate
printstatements, replaced withdebugPrintinpackage_export_generator.dart - Added
// ignore_for_file: overridden_fieldstort_get_material_app_deep_link.dart - Added
// ignore_for_file: library_private_types_in_public_apito relevant files - Simplified
RtBaseControllerby removing unnecessary getters/setters for properties
Dependencies & Configuration #
- Updated Flutter version requirement to v3.32.0 in README.md
- Added
flutter_lintsto dev dependencies - Removed
export 'package:path/path.dart'from rtbase.dart - Updated library declaration in rtbase.dart to modern syntax
- Added
.vscode/settings.jsonwith custom spelling words
Enum Updates #
- Changed enum values in
HorizontalWeekCalendarfrom PascalCase to camelCase (WeekStartFrom.Monday→WeekStartFrom.monday)
0.0.1 #
- https://gitlab.rultech.in/rultechpubliclib/rt_base/-/wikis/home for initial release.
- Added Faker and uuid Library, also Added deeplinking routing with getx
- Added fluttertoast, gap and flutter_image_compress library