rtbase 1.0.5 copy "rtbase: ^1.0.5" to clipboard
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 withOpacity usage in rt_horizontal_week_calendar.dart by replacing with withValues(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 void return types to functions in rt_common_function.dart, rt_common_widgets.dart, and button widgets
  • Added BuildContext type annotations to context parameters throughout the codebase
  • Added ButtonStyle, InputDecoration, and Text return types where missing
  • Improved type safety in calculateDistance method with proper dynamic parameter types

Refactoring & File Organization #

  • Renamed rt_appFontFamily.dart to rt_app_font_family.dart for consistent naming convention
  • Renamed rt_easyImageView.dart to rt_easy_image_view.dart
  • Renamed textField_input_formatter.dart to text_field_input_formatter.dart
  • Updated all imports to reflect new file names

Bug Fixes #

  • Fixed async/await issue in requestLocationPermission method in rt_permission_service.dart
  • Removed unused dispose method in rt_linear_progress_indicator.dart
  • Removed extra blank line in rt_base_deeplink.dart
  • Fixed GetStorageManager to use public storage property instead of private _storage

Code Cleanup #

  • Removed commented-out TODO in rt_base_view.dart
  • Removed duplicate print statements, replaced with debugPrint in package_export_generator.dart
  • Added // ignore_for_file: overridden_fields to rt_get_material_app_deep_link.dart
  • Added // ignore_for_file: library_private_types_in_public_api to relevant files
  • Simplified RtBaseController by removing unnecessary getters/setters for properties

Dependencies & Configuration #

  • Updated Flutter version requirement to v3.32.0 in README.md
  • Added flutter_lints to dev dependencies
  • Removed export 'package:path/path.dart' from rtbase.dart
  • Updated library declaration in rtbase.dart to modern syntax
  • Added .vscode/settings.json with custom spelling words

Enum Updates #

  • Changed enum values in HorizontalWeekCalendar from PascalCase to camelCase (WeekStartFrom.MondayWeekStartFrom.monday)

0.0.1 #