lego project pub package

flutter_native_splash_lego

native splash screen for flutter project.

Installation

  1. open terminal in the lego project root directory, enter the following command for install cli. and create a new lego project if you don't have one.
flutter pub global activate lego_cli
lego create
  1. in terminal, enter the following command for add lego to project.
lego add flutter_native_splash_lego
  1. pub image to assets folder, and update pubspec.yaml file.
#@add start
flutter_native_splash:
  color: "#ffffff"
  #background_image: "assets/lego/flutter_native_splash_lego/splash_icon.png"
  image: assets/lego/flutter_native_splash_lego/splash_icon.png

  color_dark: "#ffffff"
  ##background_image_dark: "assets/lego/flutter_native_splash_lego/splash_icon.png"
  image_dark: assets/lego/flutter_native_splash_lego/splash_icon.png

  #android: false
  #ios: false
  #web: false

  #android_gravity: center
  #ios_content_mode: center
  #web_image_mode: center

  fullscreen: true
#@add end
  1. in terminal, enter the following command for run flutter_native_splash
dart run flutter_native_splash:create

Libraries

main
util/_/build_app/function/before_material_app/_
util/_/build_app/function/before_material_app/bot_toast_lego/_
util/_/build_app/function/before_material_app/flutter_native_splash_lego/_
util/_/build_app/function/before_run_app/_
util/_/build_app/function/before_run_app/flutter_native_splash_lego/_
util/_/build_app/function/before_run_app/widget_binding_lego/_
util/_/build_app/widget/material_app/_
util/_/build_app/widget/material_app/bot_toast_lego/_
util/_/build_app/widget/material_app/flutter_native_splash_lego/_
util/_/build_app/widget/my_app/_
util/_/build_app/widget/my_app/flutter_native_splash_lego/_
util/_/build_app/widget/run_app/_
util/_/build_app/widget/run_app/flutter_native_splash_lego/_
util/_/build_app/widget/run_app/screenutil_lego/_
util/_/module_functions/flutter_native_splash_lego/_
util/_/shared_params/_/material_app
util/_/shared_params/_/start_app_params
util/_/shared_params/bot_toast_lego/_
util/_/shared_params/flutter_native_splash_lego/_
util/config/flutter_native_splash_lego/_
util/usage/flutter_native_splash_lego/usage
util/usage/flutter_native_splash_lego/usage_view
widget_book/flutter_native_splash_lego.bottom_sheet/_/_
widget_book/flutter_native_splash_lego.bottom_sheet/bottom_sheet
widget_book/flutter_native_splash_lego.bottom_sheet/usage
widget_book/flutter_native_splash_lego.component/_/_
widget_book/flutter_native_splash_lego.dialog/_/_
widget_book/flutter_native_splash_lego.dialog/dialog
widget_book/flutter_native_splash_lego.dialog/usage
widget_book/flutter_native_splash_lego.in_app_notification/_/_
widget_book/flutter_native_splash_lego.in_app_notification/in_app_notification
widget_book/flutter_native_splash_lego.in_app_notification/usage
widget_book/flutter_native_splash_lego.snackbar/_/_
widget_book/flutter_native_splash_lego.snackbar/snackbar
widget_book/flutter_native_splash_lego.snackbar/usage
widget_book/flutter_native_splash_lego.toast/_/_
widget_book/flutter_native_splash_lego.toast/toast
widget_book/flutter_native_splash_lego.toast/usage
widget_book/flutter_native_splash_lego/_/_