defaultConfigContent constant

  1. @visibleForTesting
String const defaultConfigContent

Implementation

@visibleForTesting
static const String defaultConfigContent = '''
defaults:
platforms:
  - android
  - ios
  - windows
  - linux
architecture: feature-first
state_management: riverpod
router: go_router
networking: dio
storage: shared_preferences
localization: false
theme: material3
seed_color: "0xFF2196F3"
font_family: ''
codegen: false
pin_versions: false

# Hooks — shell commands run before/after `rekeens generate`.
# Each entry is either a plain string (runs for all generators) or a map
# with `run` (required), `when` (optional list of generator types), and
# `description` (optional label shown in logs).
#
# hooks:
#   before_generate:
#     - echo "Starting generation"
#   after_generate:
#     - run: dart format lib/
#       when: [model, entity, usecase]
#       description: Format generated Dart files
#     - run: dart analyze lib/
#       description: Static analysis after generation

# Custom analysis_options.yaml for generated projects.
# Uncomment and adapt to enforce your team's linting standards.
# analysis_options:
#   include: package:flutter_lints/flutter.yaml
#   analyzer:
#     language:
#       strict-casts: true
#       strict-raw-types: true
#     errors:
#       todo: ignore
#   linter:
#     rules:
#       prefer_const_constructors: true
#       prefer_const_declarations: true
#       avoid_print: true
#       require_trailing_commas: true
''';