agent-flutter 0.1.10 → 0.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-flutter",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "Portable Flutter skill/rule pack initializer for multiple AI IDEs.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -289,6 +289,7 @@ JSON
289
289
 
290
290
  run_fvm flutter pub add get flutter_bloc equatable dio retrofit json_annotation flutter_dotenv flutter_svg intl
291
291
  run_fvm flutter pub add flutter_keyboard_visibility:^6.0.0 cached_network_image:^3.3.1 flutter_inappwebview:^6.1.5 pin_code_fields:^8.0.1 gif:^2.3.0
292
+ run_fvm flutter pub add carousel_slider:^5.1.1 smooth_page_indicator:^2.0.1
292
293
  run_fvm flutter pub add common_widget --git-url https://github.com/tuan-urani/common_widget --git-ref main
293
294
  run_fvm flutter pub add --dev build_runner retrofit_generator json_serializable
294
295
 
@@ -704,7 +705,16 @@ cat >lib/src/utils/app_assets.dart <<'EOF'
704
705
  class AppAssets {
705
706
  AppAssets._();
706
707
 
707
- // Define image/icon paths here.
708
+ static const String iconsInputRequiredSvg =
709
+ 'assets/images/icons/input_required.svg';
710
+ static const String iconsChevronDownSvg =
711
+ 'assets/images/icons/chevron down.svg';
712
+ static const String iconsRadioCheckSvg =
713
+ 'assets/images/icons/radio_check.svg';
714
+ static const String iconsRadioUncheckSvg =
715
+ 'assets/images/icons/radio_uncheck.svg';
716
+ static const String iconsHideEyeSvg = 'assets/images/icons/hide_eye.svg';
717
+ static const String iconsShowEyeSvg = 'assets/images/icons/show_eye.svg';
708
718
  }
709
719
  EOF
710
720
 
@@ -798,6 +808,8 @@ extension IntExtensions on int? {
798
808
  EOF
799
809
 
800
810
  cat >lib/src/extensions/string_extensions.dart <<'EOF'
811
+ import 'dart:io';
812
+
801
813
  extension NullableStringExtensions on String? {
802
814
  /// Returns [true] if this nullable string is either null or empty.
803
815
  bool isNullOrEmpty() {
@@ -810,6 +822,8 @@ extension StringExtensions on String {
810
822
 
811
823
  bool get isSvg => endsWith('.svg');
812
824
 
825
+ bool get isLocalPath => File(this).existsSync();
826
+
813
827
  /// Capitalize first letter of the word
814
828
  String get inFirstLetterCaps =>
815
829
  length > 0 ? '${this[0].toUpperCase()}${substring(1)}' : '';
@@ -869,6 +883,8 @@ class LocaleKey {
869
883
  LocaleKey._();
870
884
 
871
885
  static const String homeTitle = 'home_title';
886
+ static const String widgetCancel = 'widgetCancel';
887
+ static const String widgetConfirm = 'widgetConfirm';
872
888
  }
873
889
  EOF
874
890
 
@@ -877,6 +893,8 @@ import 'locale_key.dart';
877
893
 
878
894
  final Map<String, String> enUs = <String, String>{
879
895
  LocaleKey.homeTitle: 'Home',
896
+ LocaleKey.widgetCancel: 'Cancel',
897
+ LocaleKey.widgetConfirm: 'Confirm',
880
898
  };
881
899
  EOF
882
900
 
@@ -885,6 +903,8 @@ import 'locale_key.dart';
885
903
 
886
904
  final Map<String, String> jaJp = <String, String>{
887
905
  LocaleKey.homeTitle: 'ホーム',
906
+ LocaleKey.widgetCancel: 'キャンセル',
907
+ LocaleKey.widgetConfirm: '決定する',
888
908
  };
889
909
  EOF
890
910