2 Star 16 Fork 8

smarthane/flutter_starter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pubspec.yaml 8.91 KB
一键复制 编辑 原始数据 按行查看 历史
smarthane 提交于 2020-12-22 18:31 . [ADD] SQLite demo
name: flutter_starter
description: A new Flutter framework application.
# 🔥👍基于fish_redux的纯flutter快速开发框架。框架集成黑夜模式、多色彩主题、国际化、切换字体、优美动画,
# 以及各种常见的、丰富的开发示例。可以让你快速的上手开发一个移动应用APP(Android\iOS)。
# https://github.com/smarthane/flutter_starter
# 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+100
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
# flutter SDK >= 1.17.3-stable
flutter:
sdk: flutter
# flutter intl 国际化支持
flutter_localizations:
sdk: flutter
# 同时支持android和ios
# 支持事务和批量操作
# 支持插入/查询/更新/删除操作
# 在iOS和Android上的后台线程中执行数据库操作
# https://github.com/tekartik/sqflite
sqflite: ^1.3.0
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.3
# 闲鱼redux状态管理
# https://github.com/alibaba/fish-redux
fish_redux: ^0.3.4
# 本地key-value存储
# https://github.com/flutter/plugins/tree/master/packages/shared_preferences
shared_preferences: ^0.5.2+2
# 本地对象存储
# https://github.com/lesnitsky/flutter_localstorage
localstorage: ^2.0.0
# 一个真正意义上的flutter Toast库!
# https://github.com/MMMzq/bot_toast/blob/master/README_zh.md
bot_toast: ^3.0.5
# 一个提供上拉加载和下拉刷新的组件,同时支持Android和Ios
# https://github.com/peng8350/flutter_pulltorefresh
pull_to_refresh: ^1.6.3
# flutter最强大的siwiper, 多种布局方式,无限轮播,Android和IOS双端适配.
# https://github.com/best-flutter/flutter_swiper/blob/master/README-ZH.md
flutter_swiper: ^1.1.6
# A flutter library to show images from the internet and keep them in the cache directory.
# https://github.com/Baseflow/flutter_cached_network_image
cached_network_image: ^2.2.0
# A Flutter plugin that provides a WebView widget on Android and iOS.
# https://github.com/flutter/plugins/tree/master/packages/webview_flutter
webview_flutter: ^0.3.24
# Plugin that allows Flutter to communicate with a native WebView.
# https://github.com/fluttercommunity/flutter_webview_plugin
flutter_webview_plugin: ^0.3.11
# 启动第三方app
# https://pub.flutter-io.cn/packages/url_launcher
url_launcher: ^5.1.6
# A flutter plugin for install apk for android; and using url to go to app store for iOS.
# https://github.com/hui-z/flutter_install_plugin
install_plugin: ^2.0.1
# This Flutter plugin provides an API for querying information about an application package.
# https://github.com/flutter/plugins/tree/master/packages/package_info
package_info: ^0.4.3+2
# 网络请求库
# https://github.com/flutterchina/dio
dio: ^3.0.10
# A cookie manager for Dio.
# https://github.com/flutterchina/dio/tree/master/plugins/cookie_manager
dio_cookie_manager: ^1.0.0
# A cookie manager for http requests in Dart, by which you can deal with the complex cookie policy and persist cookies easily.
# https://github.com/flutterchina/cookie_jar
cookie_jar: ^1.0.1
# Flutter plugin for discovering the state of the network (WiFi & mobile/cellular) connectivity on Android and iOS.
# https://github.com/flutter/plugins/tree/master/packages/connectivity
connectivity: ^2.0.2
# This plugin provides a cross-platform (iOS, Android) API to request permissions and check their status. You can also open the device's app settings so users can grant a permission.
# On Android, you can show a rationale for requesting a permission.
# https://github.com/baseflowit/flutter-permission-handler
permission_handler: ^5.0.1+1
# A Dart library for unescaping HTML-encoded strings. Html Encoder/Decoder
# https://github.com/filiph/html_unescape
html_unescape: ^1.0.2
# A Flutter widget for rendering html and css as Flutter widgets.
# https://github.com/Sub6Resources/flutter_html
flutter_html: ^0.10.4
# 谁用谁闪亮 A package provides an easy way to add shimmer effect in Flutter project
# https://github.com/hnvn/flutter_shimmer
shimmer: ^1.1.2
# lottie动画
# https://github.com/xvrh/lottie-flutter
lottie: ^0.7.0+1
# A cross platform plugin for displaying local notifications.
# https://github.com/MaikuB/flutter_local_notifications
flutter_local_notifications: ^3.0.1+6
################################################################################################
################################################################################################
# Demo示例
# 瀑布流 A Flutter staggered grid view which supports multiple columns with rows of varying sizes.
# https://github.com/letsar/flutter_staggered_grid_view
flutter_staggered_grid_view: ^0.3.2
# 城市选择器
# https://github.com/hanxu317317/city_pickers
city_pickers: ^0.2.0
# Highly customizable, feature-packed Flutter Calendar with gestures, animations and multiple formats.
# https://github.com/aleksanderwozniak/table_calendar
# table_calendar: ^2.3.1
# 支持本地图片多选,本地视频多选,支持将网络图片保存到相册,支持截图保存到相册,
# 支持将网络视频保存到相册,支持预览视频和预览图片功能,支持主题颜色设置
# https://github.com/lisen87/image_pickers
# iOS : platform :ios, '10.0'
# Android: minSdkVersion 19 targetSdkVersion 29 compileSdkVersion 29
# 1.0.8 flutter sdk >= 1.20.0 可以根据自己的工程需求选择最新版本
image_pickers: ^1.0.7
# 屏幕适配
# A flutter plugin for adapting screen and font size.Let your UI display a reasonable layout on different screen sizes!
# https://github.com/OpenFlutter/flutter_screenutil/
flutter_screenutil: ^3.2.0
################################################################################################
################################################################################################
dev_dependencies:
flutter_test:
sdk: flutter
# 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
fonts:
- family: iconfont
fonts:
- asset: assets/fonts/iconfont.ttf
- family: happy # 站酷 快乐字体 https://fonts.google.com/?selection.family=Noto+Sans+SC&subset=chinese-simplified
fonts:
- asset: assets/fonts/ZCOOLKuaiLe-Regular.ttf
- family: butter # 站酷 黄油字体 https://www.zcool.com.cn/special/zcoolfonts/
fonts:
- asset: assets/fonts/ZCOOLButter-Regular.ttf
assets:
- assets/images/
- assets/animations/
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/assets-and-images/#from-packages
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages
flutter_intl:
enabled: true
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Dart
1
https://gitee.com/smarthane/flutter_starter.git
git@gitee.com:smarthane/flutter_starter.git
smarthane
flutter_starter
flutter_starter
master

搜索帮助