agent-flutter 0.1.10 → 0.1.11

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.11",
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,14 @@ 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';
708
716
  }
709
717
  EOF
710
718
 
@@ -798,6 +806,8 @@ extension IntExtensions on int? {
798
806
  EOF
799
807
 
800
808
  cat >lib/src/extensions/string_extensions.dart <<'EOF'
809
+ import 'dart:io';
810
+
801
811
  extension NullableStringExtensions on String? {
802
812
  /// Returns [true] if this nullable string is either null or empty.
803
813
  bool isNullOrEmpty() {
@@ -810,6 +820,8 @@ extension StringExtensions on String {
810
820
 
811
821
  bool get isSvg => endsWith('.svg');
812
822
 
823
+ bool get isLocalPath => File(this).existsSync();
824
+
813
825
  /// Capitalize first letter of the word
814
826
  String get inFirstLetterCaps =>
815
827
  length > 0 ? '${this[0].toUpperCase()}${substring(1)}' : '';
@@ -869,6 +881,8 @@ class LocaleKey {
869
881
  LocaleKey._();
870
882
 
871
883
  static const String homeTitle = 'home_title';
884
+ static const String widgetCancel = 'widgetCancel';
885
+ static const String widgetConfirm = 'widgetConfirm';
872
886
  }
873
887
  EOF
874
888
 
@@ -877,6 +891,8 @@ import 'locale_key.dart';
877
891
 
878
892
  final Map<String, String> enUs = <String, String>{
879
893
  LocaleKey.homeTitle: 'Home',
894
+ LocaleKey.widgetCancel: 'Cancel',
895
+ LocaleKey.widgetConfirm: 'Confirm',
880
896
  };
881
897
  EOF
882
898
 
@@ -885,6 +901,8 @@ import 'locale_key.dart';
885
901
 
886
902
  final Map<String, String> jaJp = <String, String>{
887
903
  LocaleKey.homeTitle: 'ホーム',
904
+ LocaleKey.widgetCancel: 'キャンセル',
905
+ LocaleKey.widgetConfirm: '決定する',
888
906
  };
889
907
  EOF
890
908