Features

  • Generate Base Project
  • Generate Repository
  • Generate HttpCall
  • Generate Fiture
  • Generate Page
  • Generate Event
  • Generate Listener

Getting started

flutter pub add masdul_gen

Usage

dart run masdul_gen:init
dart run masdul_gen:feature --feature=test
dart run masdul_gen:page --feature=test --page=detail
dart run masdul_gen:event --feature=test --event=get_detail
dart run masdul_gen:repository --repo=test
dart run masdul_gen:api --repo=test --api=get_detail
dart run masdul_gen:event --feature=test --event=get_detail --screen=detail

Additional information

base project generator working on mobile app flutter version 3

Libraries

app/app
commons/get_it/get_it_setup
commons/shared_preferences/auth_login_preference
commons/utils/custom_routes
commons/utils/custom_theme
commons/utils/dio_client
commons/utils/storage_util
commons/utils/strings
commons/widgets/main_layout_widget
constants/api_path_constant
constants/env
constants/env.example
features/auth/arguments/auth_front_arguments
features/auth/bloc/auth_bloc
features/auth/bloc/auth_event
features/auth/bloc/auth_state
features/auth/bloc/states/auth_login_state
features/auth/pages/bloc_providers/auth_front_bp
features/auth/pages/screens/auth_front_screen
features/dashboard/arguments/dashboard_front_arguments
features/dashboard/arguments/dashboard_home_arguments
features/dashboard/arguments/dashboard_profile_arguments
features/dashboard/bloc/dashboard_bloc
features/dashboard/bloc/dashboard_event
features/dashboard/bloc/dashboard_state
features/dashboard/pages/bloc_providers/dashboard_front_bp
features/dashboard/pages/screens/dashboard_front_screen
features/home/arguments/home_front_arguments
features/home/bloc/home_bloc
features/home/bloc/home_event
features/home/bloc/home_state
features/home/pages/bloc_providers/home_front_bp
features/home/pages/screens/home_front_screen
features/profile/arguments/profile_front_arguments
features/profile/bloc/profile_bloc
features/profile/bloc/profile_event
features/profile/bloc/profile_state
features/profile/pages/bloc_providers/profile_front_bp
features/profile/pages/screens/profile_front_screen
features/sample/arguments/sample_front_arguments
features/sample/bloc/sample_bloc
features/sample/bloc/sample_event
features/sample/bloc/sample_state
features/sample/bloc/states/sample_event_state
features/sample/pages/bloc_providers/sample_front_bp
features/sample/pages/screens/sample_front_screen
main
main_development
main_production
main_staging
masdul_gen
repositories/auth/auth_repository
repositories/auth/requests/auth_login_request_model
repositories/auth/responses/auth_login_response_model
repositories/meta_model
repositories/profile/profile_repository
repositories/profile/requests/get_profile_request_model
repositories/profile/responses/get_profile_response_model
repositories/sample/requests/sample_request_model
repositories/sample/responses/sample_response_model
repositories/sample/sample_repository
utils
version