Skip to content

Instantly share code, notes, and snippets.

@febritecno
Last active March 21, 2021 21:04
Show Gist options
  • Save febritecno/830a5a50f749ba98e2495e911e820dd9 to your computer and use it in GitHub Desktop.
Save febritecno/830a5a50f749ba98e2495e911e820dd9 to your computer and use it in GitHub Desktop.
Catatan Flutter Paket

---------------------------------

Rules : Folder widget based on the number of uses

----------------------------------------

  • root : folder lib/views/widgets/templates -> return single component [pure native widget]

  • lv1 : folder lib/views/widgets/atomic/atoms -> containing 1-2 widget component [non native widget (external library)]

  • lv2 : folder lib/views/widgets/atomic/molecules -> containing 2-6 atoms / templates components [big components in the screen]

  • lv3 : folder lib/views/widgets/atomic/organisms -> containing > 6 atoms / templates components [the full screen widget]

---------------------------------

Rules : Main Project Folder [/lib]

----------------------------------------

  • /config -> global configuration such as helper,variable,etc
  • ../config/exception
  • ../config/helpers
  • ../config/themes
  • ../config/translations

  • /controllers -> logic controller ui (expose result state variable)

  • /data -> data services (connect with internal/external resource) such as http, api, local database, firebase
  • ../data/domain
  • ../data/network

  • /routes -> route page
  • ../routes/bindings
  • ../routes/middlewares

  • /views -> components widget and views
  • ../views/pages
  • /views/widgets
  • .../views/widgets/atomic
  • .../views/widgets/templates

---------------------------------

Rules : Main Project Assets [/assets]

----------------------------------------

  • /fonts
  • /images
  • ../images/app_images -> folder image for system app
  • /svg -> file format svg such as icon, element
  • /animation -> folder image animation such lottie, flare, gif, svg animation, etc
  • ../animation/lottie

---------------------------------

Rules : Multi Service Project [/lib]

----------------------------------------

  • /core -> main project

  • /modules -> children [main project]
  • /modules/controllers
  • ../modules/data
  • ../modules/routes/bindings
  • ../modules/views
#Flutter 1.22.5 • channel stable • https://github.com/flutter/flutter.git
#Framework • revision 7891006299 (3 months ago) • 2020-12-10 11:54:40 -0800
#Engine • revision ae90085a84
#Tools • Dart 2.10.4
# ---------------------------------
# Rules : Folder widget based on the number of uses
#----------------------------------------
#root : folder lib/views/widgets/templates -> return single component [pure native widget]
#lv1 : folder lib/views/widgets/atomic/atoms -> containing 1-2 widget component [non native widget (external library)]
#lv2 : folder lib/views/widgets/atomic/molecules -> containing 2-6 atoms / templates components [big components in the screen]
#lv3 : folder lib/views/widgets/atomic/organisms -> containing > 6 atoms / templates components [the full screen widget]
name: lets_goto_solo
description: Solo City Tourism Information Center.
# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
# CORE ===================
get: ^3.25.6
shared_preferences: 0.5.12
relative_scale: ^1.1.2
device_preview: ^0.5.5
# UI ===================
flutter_tawk: ^0.0.5
settings_ui: ^0.6.0
flutter_dropdown: ^0.0.8
image_auto_slider: ^0.0.3
interactive_maps_marker: ^0.0.3
google_maps_flutter: ^1.2.0
map_launcher: ^1.1.3
#photo_view: ^0.10.3
#image_viewer: ^1.0.0
lightbox: ^0.0.1
#flutter_easyrefresh: ^2.1.8
carousel_slider: ^3.0.0
simple_html_css: ^2.0.2
smooth_star_rating: ^1.1.1
# ======= icons ==========
unicons: ^1.0.1
cupertino_icons: ^1.0.0
# UTILS ===================
#adaptive_dialog: ^0.9.4
optimized_cached_image: ^1.0.0
#readmore: ^1.0.1
lazy_loading_list: ^1.0.1
dio: ^3.0.10
loadmore: ^1.0.4
pretty_dio_logger: ^1.1.1
connectivity: ^2.0.2
loading_skeleton: 1.0.2
#flutter_offline: "^0.3.0"
#feedback: ^0.3.0
#carousel_slider: ^2.3.1
#auto_size_text: ^2.1.0
#modal_bottom_sheet: ^1.0.0+1
#lottie: ^0.7.0+1
#flare_flutter: ^2.0.6
#flutter_svg: ^0.19.2+1
#flutter_svg_provider: ^0.1.7
#youtube_player_webview: ^1.0.0+1
#google_fonts: ^1.1.1
#simple_logger: ^1.7.0
#expandable: ^4.1.4
#====== fix keyboard ======
#keyboard_avoider: ^0.1.2
#flutter_keyboard_aware_dialog: ^1.0.1
dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons:
flutter_native_splash:
flutter_rename_app:
flutter_gen: any
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true
assets:
- assets/images/
- assets/images/app_images/
- assets/images/slider_images/
- assets/images/thumb_menu/
- assets/images/thumb_menu/sarana/
- assets/images/thumb_menu/informasi/
- assets/images/thumb_menu/transportasi/
- assets/images/thumb_menu/topten/
fonts:
- family: Inter
fonts:
- asset: assets/fonts/Inter-Thin.ttf
weight: 100
- asset: assets/fonts/Inter-Light.ttf
weight: 300
- asset: assets/fonts/Inter-Regular.ttf
- asset: assets/fonts/Inter-Medium.ttf
weight: 500
- asset: assets/fonts/Inter-Bold.ttf
weight: 700
- asset: assets/fonts/Inter-Black.ttf
weight: 900
#=========================================
# SET UP ASSET-GENERATOR, ICON, SPLASH SCREEN AND APP INFO ============
#=========================================
# exec command ' flutter pub run flutter_native_splash:create ' in your the terminal
flutter_native_splash:
image: assets/images/app_images/launcher_splash.png
color: "ffffff"
ios: false
android_disable_fullscreen: true
# exec command ' flutter pub run flutter_launcher_icons:main ' in your the terminal
flutter_icons:
android: true
ios: true
image_path: "assets/images/app_images/launcher_icon.png"
# exec command ' flutter pub run flutter_rename_app ' in your the terminal
flutter_rename_app:
application_name: Let's Go to Solo
dart_package_name: lets_goto_solo
application_id: com.pariwisatasolo.lets_goto_solo
# IOS APP ID
bundle_id: com.pariwisatasolo.lets_goto_solo
# ANDROID APP ID
android_package_name: com.pariwisatasolo.lets_goto_solo
# asset generator install exec -> dart pub global activate flutter_gen
# exec command ' fluttergen -c pubspec.yaml ' in your the terminal
flutter_gen:
output: lib/config/constants/ # Optional (default: lib/gen/)
lineLength: 80 # Optional (default: 80)
# Optional
integrations:
flutter_svg: false
flare_flutter: false
#========================================
# SITES =============================
# flutter manager version -> https://github.com/leoafarias/fvm
# flutter device view -> https://pub.dev/packages/device_preview
# flutter responsive -> https://pub.dev/packages/liquid_ui , https://pub.dev/packages/flui
# Alternatif rename tools -> https://pub.dev/packages/rename
name: lets_goto_solo
description: Solo City Travel Apps.
# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
# CORE ===================
get: ^3.24.0
easy_localization:
get_storage: ^1.4.0
# UI ===================
velocity_x: ^1.3.1
#interactive_maps_marker: ^0.0.3
#map_launcher: ^1.1.3
# ======= icons ==========
unicons: ^1.0.1
#cupertino_icons: ^1.0.2
# UTILS ===================
#feedback: ^0.3.0
#carousel_slider: ^2.3.1
#auto_size_text: ^2.1.0
#modal_bottom_sheet: ^1.0.0+1
#lottie: ^0.7.0+1
#flare_flutter: ^2.0.6
#flutter_svg: ^0.19.2+1
#flutter_svg_provider: ^0.1.7
#youtube_player_webview: ^1.0.0+1
#google_fonts: ^1.1.1
#expandable: ^4.1.4
first_time_screen: ^1.0.3
#====== fix keyboard ======
#keyboard_avoider: ^0.1.2
#flutter_keyboard_aware_dialog: ^1.0.1
dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons:
flutter_native_splash:
# flutter_rename_app:
# flutter_gen: ^1.3.1
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true
assets:
- assets/icons/
- assets/images/
- assets/images/app_image/
- assets/images/flare/
- assets/images/lottie/
- assets/translations/
fonts:
- family: Roboto
fonts:
- asset: assets/fonts/roboto_thin.ttf
weight: 100
- asset: assets/fonts/roboto_light.ttf
weight: 300
- asset: assets/fonts/roboto_reguler.ttf
- asset: assets/fonts/roboto_medium.ttf
weight: 500
- asset: assets/fonts/roboto_bold.ttf
weight: 700
- asset: assets/fonts/roboto_black.ttf
weight: 900
#=========================================
# SET UP ASSET-GENERATOR, ICON, SPLASH SCREEN AND APP INFO ============
#=========================================
# exec command ' flutter pub run flutter_native_splash:create ' in your the terminal
flutter_native_splash:
image: assets/images/app_image/launcher_splash.png
color: "000000"
ios: false
android_disable_fullscreen: true
# exec command ' flutter pub run flutter_launcher_icons:main ' in your the terminal
flutter_icons:
android: true
ios: true
image_path: "assets/images/app_image/launcher_icon.png"
# exec command ' flutter pub run flutter_rename_app ' in your the terminal
# !! INFO : RUN COMMAND WHEN YOU NOT OPEN THIS PROJECT IN TEXT EDITOR!!
# Alternatif rename tools -> https://pub.dev/packages/rename
#flutter_rename_app:
# application_name: Let's Go to Solo
# dart_package_name: lets_goto_solo
# application_id: com.pariwisatasolo.lets_goto_solo
# # IOS APP ID
# bundle_id: com.pariwisatasolo.lets_goto_solo
# # ANDROID APP ID
# android_package_name: com.pariwisatasolo.lets_goto_solo
# asset generator install exec -> dart pub global activate flutter_gen
# exec command ' fluttergen -h / fluttergen -c example/pubspec.yaml ' in your the terminal
#flutter_gen:
# output: lib/gen/ # Optional (default: lib/gen/)
# lineLength: 80 # Optional (default: 80)
# # Optional
# integrations:
# flutter_svg: false
# flare_flutter: false
# colors:
# inputs:
# - assets/colors/colors.xml
#========================================
# SITES =============================
# flutter manager version -> https://github.com/leoafarias/fvm
# flutter device view -> https://pub.dev/packages/device_preview
# flutter responsive -> https://pub.dev/packages/liquid_ui , https://pub.dev/packages/flui ,
# exec flutter clean and flutter pub get for update change
name: quran
description: Apps for read quran easy.
# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
# DATA ==================
get: ^3.23.1
get_storage: ^1.3.2
requests: ^3.3.0
#tform: ^0.9.3
#auth: ^7.3.0
# UI ====================
#drawing_animation: ^0.1.4
#pandabar: ^0.1.1
#google_fonts: ^1.1.1
#liquid_ui: ^1.0.0+9
#flui: ^0.9.2
#responsive: 0.2.3+4
#flutter_steps_animation: ^1.1.0
#smart_select: ^4.3.2
#expandable_bottom_bar: ^1.0.2
feedback: ^0.3.0
carousel_slider: ^2.3.1
auto_size_text: ^2.1.0
modal_bottom_sheet: ^1.0.0+1
#interactive_maps_marker: ^0.0.1
#persistent_bottom_nav_bar: ^3.1.0
expandable: ^4.1.4
#flutter_easyhub: ^1.0.1+0.10
#lottie: ^0.7.0+1
#flare_flutter: ^2.0.6
#somedialog: ^1.0.1
#cupertino_icons: ^1.0.2
#flutter_svg_provider: ^0.1.7
unicons: ^1.0.0+5
#fluttericon: ^1.0.7
animations: ^1.1.2
fancy_bar: ^1.2.0
#youtube_player_webview: ^1.0.0+1
# UTILS =================
flutter_overboard: ^1.1.5
assets_audio_player: ^2.0.13+1
first_time_screen: ^1.0.3
audioplayers: ^0.17.0
locally: ^0.2.6+9
locate: ^1.2.0
fzregex: ^1.0.3
#hasura_connect: ^2.0.1
#shared_preferences: ^0.5.12+4
#supercharged: ^1.8.2
#simply_responsive: ^0.0.3
#easy_localization: ^2.3.3
#file_cache:
equatable: ^1.2.5
#====== fix keyboard ======
#keyboard_avoider: ^0.1.2
#flutter_keyboard_aware_dialog: ^1.0.1
# ====== IMPORTANT ===========
# ============================
dev_dependencies:
flutter_test:
sdk: flutter
#build_runner:
#freezed:
flutter_launcher_icons:
flutter_native_splash:
flutter_rename_app:
# The following section is specific to Flutter.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true
assets:
- assets/images/
- assets/icons/
- assets/images/
- assets/icons/
- assets/images/flare/
- assets/images/lottie/
- assets/images/main/
- assets/translations/
fonts:
- family: Roboto
fonts:
- asset: assets/fonts/roboto_thin.ttf
weight: 100
- asset: assets/fonts/roboto_light.ttf
weight: 300
- asset: assets/fonts/roboto_reguler.ttf
- asset: assets/fonts/roboto_medium.ttf
weight: 500
- asset: assets/fonts/roboto_bold.ttf
weight: 700
- asset: assets/fonts/roboto_black.ttf
weight: 900
#=========================================
# SET UP ICON, SPLASH SCREEN AND APP INFO ============
#=========================================
# exec command ' flutter pub run flutter_native_splash:create ' in your the terminal
flutter_native_splash:
image: assets/images/main/launcher_splash.png
color: "000000"
ios: false
android_disable_fullscreen: true
# exec command ' flutter pub run flutter_launcher_icons:main ' in your the terminal
flutter_icons:
android: true
ios: true
image_path: "assets/images/main/launcher_icon.png"
flutter_rename_app:
application_name: Easy Qur'an
dart_package_name: easy_quran
application_id: com.febritecno.quran_apps
bundle_id: com.febritecno.quran_apps
android_package_name: com.febritecno.quran_apps
#========================================
# ======= UNUSED LIBRARY ====================================
# ---- DATA ---------------
# ---- UI ---------------
# ---- UTILS ---------------
# --------------------------
simple
- local notif gampang
https://pub.dev/packages/locally
- http request gampang
https://pub.dev/packages/requests
slide listview fleksibel botton
https://pub.dev/packages/backdrop_modal_route
https://pub.dev/packages/draggable_bottom_sheet
https://pub.dev/packages/bottom_loader
https://pub.dev/packages/flutter_sliding_up_panel
modal button sheet (backdrop) lengkap
https://pub.dev/packages/modal_bottom_sheet
https://app.quicktype.io/
//firebase model easy
https://pub.dev/packages/flamingo
#navbar mantul
https://pub.dev/packages/persistent_bottom_nav_bar
#introscreen / onboard screen
#splash screen
https://pub.dev/packages/decimal
https://pub.dev/packages/flutter_toggle_tab <-indonesia
akvelon_flutter_share_plugin 1.0.2 <- share text,image dll shareable
#data persistent memory map,list
immortal 2.1.1
https://pub.dev/packages/flutter_android
Freeezed <- model generator easy
#6agustus
firestore_entity 0.2.4
mp_chart 0.2.2
https://pub.dev/packages/flutter_sqlcipher
https://pub.dev/packages/humanize -> mau kubuat paket
time_formatter 1.0.0+5
timeago 2.0.26
pogo 0.2.2 <- game engine
#search
easy_search 1.0.1+3
search_choices 1.0.17
find_dropdown 0.2.0
uuid 2.2.0
#notification
flutter_local_notifications 1.4.4+2
onesignal
#offline
flutter_data <- best library for offline first
connectivity_widget 0.1.7
flutter_offline: "^0.3.0" <-error
geocoder_offline 0.1.5
brick_offline_first 0.1.0
dio_cache 0.4.0-beta
async_resource 0.1.4 best
#DI
GetIt
flutter_modular (DI + route)
#statemanagement
cunsumer
bloc
cubit
provider + hook
-pmvvm
-riverpod
rate_my_app 0.6.1+7
hasura_connect 1.2.2+1
woosignal 1.1.2
meteorify 1.0.6
couchbase_lite 2.7.1+4 <- bisa sync database
flutter_tex 3.6.7+8
#### penting buat SingleScrollview atau listview biar engga oveflow
https://pub.dev/packages/sliver_glue
responsive_util <- buat test responsif
listview_utils
#common_util biasa function dipakai
https://pub.dev/packages/common_utils
file_utils
basic_utils 2.6.1
flustars 0.3.3
flutter_util_widgets
flutter_common_exports
flutter_commons_lang
sqflite_common
TOP common util
# https://github.com/Sky24n/common_utils
common_utils: ^1.2.1
# https://github.com/Sky24n/flustars
flustars: ^0.3.2
# https://github.com/Sky24n/sp_util
sp_util: ^1.0.0
#buat model gampang
freezed 0.11.4
#penting buat check paket sehat engga
pana 0.13.16
#agustus
carousel_slider: ^2.2.1
curved_navigation_bar: ^0.3.3
flutter_settings: ^1.0.2
lottie: ^0.5.1
auto_size_text: ^2.1.0
bezier_chart: ^1.0.17+1
flutter_staggered_grid_view: ^0.3.2
rounded_loading_button: ^1.0.12
# DATA -----------------------------------
mongo_dart: ^0.4.0
shared_preferences: ^0.5.8
streaming_shared_preferences: ^1.0.1
cloud_firestore: ^0.13.7
# SERVICES --------------------------------
onesignal_flutter: ^2.6.0
universal_mqtt_client: ^0.1.1
# UTILS HELPER DART -----------------------
# access low level sound phone
flutter_beep: ^0.2.0
json_string: ^2.0.1
#sqlite utils
#sqflite: ^1.3.1
#sqlcool: ^4.3.1
#sqlview: ^0.4.0
#sqlbrite: ^1.2.0
#month_picker_dialog: ^0.3.2
#flutter_datetime_picker: ^1.3.8
#calendar_timeline: ^0.6.2
#day: ^0.6.4
#supercharged: ^1.8.2
#time_formatter: ^1.0.0+5
#rounded_flutter_datetime_picker: ^1.3.10
#day_night_time_picker:
#date_range_picker: ^1.0.5
#month_picker_strip
#calendar_timeline: ^0.6.2
#heatmap_calendar: ^1.2.8
#https://pub.dev/packages/flutter_sqlcipher
#simple state management
stream_state: ^0.0.5 //super simple
async_loader: ^0.1.2
consumer: ^2.0.2 //like react hook
#remove navbar and statusbar to transparent
https://pub.dev/packages/infinity_ui
--- manipulasi tanggal datetime date
https://pub.dev/packages/time_formatter
https://github.com/andresaraujo/timeago.dart
time_machine
#day: ^0.5.5
#indonesia: ^1.0.1
#pertama kali dibuka penting
afterscreen
flutter_icon
flutter_splash
flutter_native_splash
flutter_icons
first_time_screen -> load aksi pertama kali di install
https://pub.dev/packages/nested -> buat agar rapi engga child>child>child + wrap/flexible
https://pub.dev/packages/flutter_bootstrap
https://pub.dev/packages/async_loader
state management simple
state_rebuilder (DI+state management)
provider+getIt
riverpod (sama kayak provider)
----
--caching---
#flutter_cache_store: ^0.7.2
#dio_http_cache: ^0.2.x #latest version
offline_first
==
https://pub.dev/packages/easy_localization
https://pub.dev/packages/flt_worker
https://pub.dev/packages/workmanager
https://pub.dev/packages/move_to_background
https://pub.dev/packages/background_fetch
https://pub.dev/packages/worker_manager
https://pub.dev/packages/animated_background
https://pub.dev/packages/flutter_onboard
https://pub.dev/packages/onboardme
https://pub.dev/packages/sliverbar_with_card
https://pub.dev/packages/awesome_page_transitions
https://pub.dev/packages/animated_widgets
https://pub.dev/packages/touchable
https://pub.dev/packages/black_hole_flutter
https://pub.dev/packages/animated_text
https://pub.dev/packages/flutter_easyloading
flutter_easyhub: ^1.0.1+0.10
#fingerprint
https://pub.dev/packages/local_auth
#responsif grid
flutter_staggered_grid_view: ^0.3.0
rflutter_alert: ^1.0.3
easy_listview: ^0.1.3
name: zpower
description: Monitoring Energy.
# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: "none" # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
#=========================================
# LIST LIBRARY ===========================
#=========================================
# CORE -----------------------------------
#middleware, fix stuck while open widget in screen together
after_layout:
#state management
provider: ^4.1.3
#router, DI, and guard
flutter_modular: any
#fix overflow keyboard
keyboard_avoider: ^0.1.2
#device preview
device_preview: ^0.4.7
# UI -------------------------------------
# Icons
cupertino_icons: ^0.1.3
line_awesome_icons: ^1.0.4+2
eva_icons_flutter: ^2.0.0
flutter_feather_icons: ^1.0.3
https://pub.dev/packages/fluttericon
https://pub.dev/packages/frino_icons
svg icon flutter
carousel_slider: ^2.2.1
animations: ^1.0.0+5
curved_navigation_bar: ^0.3.3
flutter_settings: ^1.0.2
flutter_staggered_grid_view: ^0.3.0
rflutter_alert: ^1.0.3
easy_listview: ^0.1.3
lottie: ^0.4.0+1
auto_size_text_field: ^0.1.4
auto_size_text: ^2.1.0
flutter_easyhub: ^1.0.1+0.10
bezier_chart: ^1.0.17+1
step_progress_indicator: ^0.2.3+6
# DATA -----------------------------------
dio: ^3.0.9
shared_preferences: ^0.5.6+3
#sqlitw
# UTILS HELPER DART -----------------------
retry: ^3.0.1
json_render: ^1.3.3
universal_mqtt_client: ^0.1.1
#day: ^0.5.5
#indonesia: ^1.0.1
#caching
#flutter_cache_store: ^0.7.2
#dio_http_cache: ^0.2.x #latest version
#=========================================
dev_dependencies:
flutter_test:
sdk: flutter
simple_animations: ^1.3.3
flutter_launcher_icons: ^0.7.3
flutter_native_splash: ^0.1.9
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
#=========================================
# SET UP ICON & SPLASH SCREEN ============
#=========================================
# exec command ' flutter pub run flutter_native_splash:create ' in your the terminal
flutter_native_splash:
image: assets/images/launcher_splash.png
color: "000000"
ios: false
android_disable_fullscreen: true
# exec command ' flutter pub run flutter_launcher_icons:main ' in your the terminal
flutter_icons:
android: true
ios: true
image_path: "assets/images/launcher_icon.png"
#========================================
# The following section is specific to Flutter.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true
# add all assets images, icons, lang
assets:
- assets/images/
- assets/icons/
- assets/lang/
#kalau mau update assets harus rebuild ulang dan uninstall appnya dulu baru terload
# add font family, and next font asset
fonts:
- family: Roboto
fonts:
- asset: assets/fonts/roboto_thin.ttf
weight: 100
- asset: assets/fonts/roboto_light.ttf
weight: 300
- asset: assets/fonts/roboto_reguler.ttf
- asset: assets/fonts/roboto_medium.ttf
weight: 500
- asset: assets/fonts/roboto_bold.ttf
weight: 700
- asset: assets/fonts/roboto_black.ttf
weight: 900
name: zpower
description: Monitoring Energy.
# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: "none" # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
#=========================================
# LIST LIBRARY ===========================
#=========================================
# CORE -----------------------------------
get_it: ^4.0.2
provider: ^4.1.3
flutter_modular: any
#flutter_offline: ^0.3.0
#offline local notif, if online use firebase or one_signal library.
flutter_local_notifications: ^1.4.4+1
# Backround task -----------------
#workmanager: ^0.2.3
#worker_manager: ^2.8.3
#background_fetch: ^0.6.0
#flt_worker: ^0.1.0
#permission_handler: ^5.0.1+1
#connectivity: ^0.4.9
#equatable: ^1.1.1
#intl: ^0.16.1
#path_provider:
# UI -------------------------------------
cupertino_icons: ^0.1.3
animations: ^1.0.0+5
curved_navigation_bar: ^0.3.3
flutter_staggered_grid_view: ^0.3.0
rflutter_alert: ^1.0.3
easy_listview: ^0.1.3
lottie: ^0.4.0+1
frefresh: ^1.1.0
radar_chart: ^1.1.0
wave: ^0.0.8
flutter_gradient_colors: ^1.0.0
lite_rolling_switch: ^0.1.1
derived_colors: ^0.2.4
percent_indicator: ^2.1.5
flutter_shimmer: ^1.3.0
#expansion_card: ^0.1.0
#google_fonts: ^1.1.0
#loading_animations: ^2.1.0
#cached_network_image: ^2.2.0+1
# DATA -----------------------------------
dio: ^3.0.9
shared_preferences: ^0.5.6+3
#sqflite: ^1.3.0
#dbutils: ^2.1.2
#flutter_secure_storage: ^3.3.3
#hive: ^1.4.1+1
#hive_flutter: ^0.3.0+2
#https://moor.simonbinder.eu/docs/getting-started/
#moor: # use the latest version
#moor_ffi: # use the latest version
#path_provider:
#path:
# UTILS HELPER DART -----------------------
flutter_screenutil: ^1.1.0
#device_preview: ^0.3.0+1
#auto_animated: any
#auto_size_text: ^2.1.0
#auto_orientation: ^1.0.6
#auto_size_text_field: ^0.1.4
#auto_data: ^0.0.3
#auto_localization: ^1.1.5
#queue: ^1.0.1+2
#neat_periodic_task: ^1.0.1
retry: ^3.0.1
json_render: ^1.3.3
universal_mqtt_client: ^0.1.1
#dart_json_mapper: ^1.5.16
#brick_offline_first: ^0.0.7
#=========================================
dev_dependencies:
flutter_test:
sdk: flutter
simple_animations: ^1.3.3
flutter_launcher_icons: ^0.7.3
flutter_native_splash: ^0.1.9
#mock_data: ^1.2.6
#logger: ^0.9.1
#moor_generator: # use the latest version
#hive_generator: ^0.7.0+2
#build_runner: # use the latest version
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
#=========================================
# LIST LIBRARY ===========================
#=========================================
# CORE -----------------------------------
get_it: ^4.0.2
provider: ^4.1.3
flutter_modular: any
# UI -------------------------------------
cupertino_icons: ^0.1.3
animations: ^1.0.0+5
curved_navigation_bar: ^0.3.3
flutter_staggered_grid_view: ^0.3.0
rflutter_alert: ^1.0.3
easy_listview: ^0.1.3
lottie: ^0.4.0+1
frefresh: ^1.1.0
wave: ^0.0.8
lite_rolling_switch: ^0.1.1
https://pub.dev/packages/fluttericon
https://riverpod.dev/
# DATA -----------------------------------
dio: ^3.0.9
shared_preferences: ^0.5.6+3
# UTILS HELPER DART -----------------------
retry: ^3.0.1
json_render: ^1.3.3
universal_mqtt_client: ^0.1.1
#=========================================
dev_dependencies:
flutter_test:
sdk: flutter
simple_animations: ^1.3.3
flutter_screenutil:
flutter_launcher_icons: ^0.7.3
flutter_native_splash: ^0.1.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment