Skip to content

Instantly share code, notes, and snippets.

@sawirricardo
Created December 16, 2021 02:16
Show Gist options
  • Save sawirricardo/b4d101bbf41e609cef80f25ee6091330 to your computer and use it in GitHub Desktop.
Save sawirricardo/b4d101bbf41e609cef80f25ee6091330 to your computer and use it in GitHub Desktop.
Flutter getx almost must used
name: my_app
version: 1.0.0+1
publish_to: none
description: A new Flutter project.
environment:
sdk: '>=2.12.0 <3.0.0'
dependencies:
cupertino_icons: ^1.0.2
flutter_dotenv: ^5.0.2
device_info: ^2.0.3
intl_phone_number_input: ^0.7.0+2
get: ^4.3.8
dio: ^4.0.3
flutter_form_builder: ^7.0.0
form_builder_extra_fields: ^7.0.0
form_builder_validators: ^7.1.0
flutter_svg: ^0.22.0
convex_bottom_bar: ^3.0.0
carousel_slider: ^4.0.0
badges: ^2.0.1
intl: ^0.17.0
dropdown_search: ^2.0.0
get_storage: ^2.0.3
youtube_player_flutter: ^8.0.0
flutter_markdown: ^0.6.7
path: ^1.8.0
url_launcher: ^6.0.12
fluttericon: ^2.0.0
pin_code_fields: ^7.3.0
marquee: ^2.2.0
flutter_html: ^2.1.5
infinite_scroll_pagination: ^3.1.0
double_back_to_close_app: ^2.1.0
back_button_interceptor: ^5.0.2
upgrader: ^3.11.1
flutter:
sdk: flutter
dev_dependencies:
flutter_lints: ^1.0.0
lints: ^1.0.1
flutter_launcher_icons: ^0.9.2
flutter_native_splash: ^1.2.4
integration_test:
sdk: flutter
flutter_test:
sdk: flutter
flutter_icons:
android: launcher_icon
image_path: assets/appicon.png
ios: true
flutter:
uses-material-design: true
assets:
- .env
- assets/home/banners/
- assets/icons/
fonts:
- family: Urbanist
fonts:
- asset: assets/fonts/Urbanist/static/Urbanist-Thin.ttf
weight: 100
- asset: assets/fonts/Urbanist/static/Urbanist-ThinItalic.ttf
style: italic
weight: 100
- asset: assets/fonts/Urbanist/static/Urbanist-ExtraLight.ttf
weight: 200
- asset: assets/fonts/Urbanist/static/Urbanist-ExtraLightItalic.ttf
style: italic
weight: 200
- asset: assets/fonts/Urbanist/static/Urbanist-Light.ttf
weight: 300
- asset: assets/fonts/Urbanist/static/Urbanist-LightItalic.ttf
style: italic
weight: 300
- asset: assets/fonts/Urbanist/static/Urbanist-Regular.ttf
weight: 400
- asset: assets/fonts/Urbanist/static/Urbanist-Italic.ttf
style: italic
weight: 400
- asset: assets/fonts/Urbanist/static/Urbanist-Medium.ttf
weight: 400
- asset: assets/fonts/Urbanist/static/Urbanist-MediumItalic.ttf
style: italic
weight: 400
- asset: assets/fonts/Urbanist/static/Urbanist-SemiBold.ttf
weight: 600
- asset: assets/fonts/Urbanist/static/Urbanist-SemiBoldItalic.ttf
style: italic
weight: 600
- asset: assets/fonts/Urbanist/static/Urbanist-Bold.ttf
weight: 700
- asset: assets/fonts/Urbanist/static/Urbanist-BoldItalic.ttf
style: italic
weight: 700
- asset: assets/fonts/Urbanist/static/Urbanist-ExtraBold.ttf
weight: 800
- asset: assets/fonts/Urbanist/static/Urbanist-ExtraBoldItalic.ttf
style: italic
weight: 800
- asset: assets/fonts/Urbanist/static/Urbanist-Black.ttf
weight: 900
- asset: assets/fonts/Urbanist/static/Urbanist-BlackItalic.ttf
style: italic
weight: 900
flutter_native_splash:
# Customize the parameters below, and run the following command in the terminal:
# flutter pub run flutter_native_splash:create
# To restore Flutter's default white splash screen, run the following command in the terminal:
# flutter pub run flutter_native_splash:remove
# Only one parameter can be used, color and background_image cannot both be set.
color: '#ffffff'
#background_image: "assets/background.png"
# Optional parameters are listed below. To enable a parameter, uncomment the line by removing
# the leading # character.
# The image parameter allows you to specify an image used in the splash screen. It must be a
# png file and should be sized for 4x pixel density.
image: assets/appicon.png
# The color_dark, background_image_dark, and image_dark are parameters that set the background
# and image when the device is in dark mode. If they are not specified, the app will use the
# parameters from above. If the image_dark parameter is specified, color_dark or
# background_image_dark must be specified. color_dark and background_image_dark cannot both be
# set.
#color_dark: "#042a49"
#background_image_dark: "assets/dark-background.png"
#image_dark: assets/splash-invert.png
# The android, ios and web parameters can be used to disable generating a splash screen on a given
# platform.
#android: false
#ios: false
#web: false
# The position of the splash image can be set with android_gravity, ios_content_mode, and
# web_image_mode parameters. All default to center.
#
# android_gravity can be one of the following Android Gravity (see
# https://developer.android.com/reference/android/view/Gravity): bottom, center,
# center_horizontal, center_vertical, clip_horizontal, clip_vertical, end, fill, fill_horizontal,
# fill_vertical, left, right, start, or top.
android_gravity: center
#
# ios_content_mode can be one of the following iOS UIView.ContentMode (see
# https://developer.apple.com/documentation/uikit/uiview/contentmode): scaleToFill,
# scaleAspectFit, scaleAspectFill, center, top, bottom, left, right, topLeft, topRight,
# bottomLeft, or bottomRight.
#ios_content_mode: center
#
# web_image_mode can be one of the following modes: center, contain, stretch, and cover.
#web_image_mode: center
# To hide the notification bar, use the fullscreen parameter. Has no affect in web since web
# has no notification bar. Defaults to false.
# NOTE: Unlike Android, iOS will not automatically show the notification bar when the app loads.
# To show the notification bar, add the following code to your Flutter app:
# WidgetsFlutterBinding.ensureInitialized();
# SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.bottom, SystemUiOverlay.top]);
#fullscreen: true
# If you have changed the name(s) of your info.plist file(s), you can specify the filename(s)
# with the info_plist_files parameter. Remove only the # characters in the three lines below,
# do not remove any spaces:
#info_plist_files:
# - 'ios/Runner/Info-Debug.plist'
# - 'ios/Runner/Info-Release.plist'
# To enable support for Android 12, set the following parameter to true. Defaults to false.
#android12: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment