当前位置: 首页 > 软件库 > 手机/移动开发 > >

flutter-examples

授权协议 Apache-2.0 License
开发语言 Java
所属分类 手机/移动开发
软件类型 开源软件
地区 不详
投 递 者 华鹭洋
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Show some ❤️ and star the repo to support the project


Main repository containing all the example apps demonstrating features/functionality/integrations in Flutter application development

Featured In

Lookup Links: [Setup Flutter] [Widgets Catalog] [Dart Lang]

Example apps

  1. Simple Material App
  2. Using Theme
  3. Stateless Widgets
  4. Stateful Widget
  5. Using EditText
  6. Load local image
  7. Load local json
  8. Unit Testing
  9. Using HTTP GET
  10. Using Alert Dialog
  11. Using Stepper
  12. Using Tabs
  13. Using Bottom Navigation Bar
  14. Using Custom Fonts
  15. Using Gradient
  16. Navigation Drawer
  17. Enable Splash Screen
  18. Using Listview
  19. Using ListwheelScrollView
  20. Using SnackBar
  21. Grid Layout
  22. DropDown Button
  23. Image from Network
  24. Infinite List
  25. Google Signin
  26. Persist Key Value
  27. Using InteractiveViewer
  28. Using Bottom Sheet
  29. View PDF File
  30. Image Editor
  31. Firebase Analytics Integration
  32. Firebase Crashlytics Integration
  33. Push Notifications
  34. Todo list using Provider

Complete apps with multiple features

  1. Tip Calculator
  2. Expense Planner
  3. Notes App
  4. Covid-19 App

Get packages for all flutter projects

  • Once you have cloned this repo, navigate to the root of this repo.
  • Next run ./get_packages.sh

    Make sure the script is executable. If it is not, then run chmod +x get_packages.sh first to make it executable.

  • Done!

Pull Requests

I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:

  1. Match coding style (braces, spacing, etc.) This is best achieved using Reformat Code feature of Android Studio CMD+Option+L on Mac and CTRL + ALT + L on Linux + Windows .
  2. If its a feature, bugfix, or anything please only change code to what you specify.
  3. Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
  4. Pull requests must be made against develop branch. Any other branch (unless specified by the maintainers) will get rejected.
  5. Check for existing issues first, before filing an issue.
  6. Make sure you follow the set standard as all other projects in this repo do

    Make sure the package name conforms to the format: github.nisrulz.<app_name>

  7. Have fun!

Extra

Since the repo is pretty large now , I am sure many folks would like to download only some of the projects. To tackle that follow the steps below:

  • Install svn using homebrew (mac/linux)

    brew install svn
  • Copy the name of the example folder in this repo i.e simple_material_app

  • Next replace example_folder in the below command:

    svn checkout https://github.com/nisrulz/flutter-examples/trunk/example_folder

    i.e Consider simple_material_app is the name of the example's folder, the command becomes:

    svn checkout https://github.com/nisrulz/flutter-examples/trunk/simple_material_app
  • Done! You should have the specific example all checked out!

Author & support

This project was created by Nishant Srivastava but hopefully developed and maintained by many others. See the the list of contributors here.

If you appreciate my work, consider buying me a cup of to keep me recharged �� [PayPal]

License

Copyright 2017 Nishant Srivastava

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
  • 一、自己总结的Flutter有关资料 ? Flutter的需要与原生交互的一些常用库 Flutter基础全面详解 Flutter从配置安装到填坑指南详解 ? Flutter代码模板插件,适用于AS以及IDEA 以及VSCode Dart语法 Flutter和原生Android控件对比 Flutter和react native的对比 yarn,nodejs,npm,Flutter有关命令 我模仿Fl

  •   资源列表:学习资料列表 这篇文章主要参考 Flutter中文网 flutter的插件:https://pub.dev/packages Flutter 开发文档      

  • #Flutter _stady 环境配置请参考官方网站:https://flutter.dev/docs/get-started/install 中文电子书地址:https://book.flutterchina.club/

  • webview_flutter 官方例子: import 'dart:io'; import 'package:webview_flutter/webview_flutter.dart'; class WebViewExample extends StatefulWidget { @override WebViewExampleState createState() => W

  • import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; void main() { runApp(MyApp( items: List<ListItem>.generate( 1000, (i) => i % 6 == 0 ?

  • flutter_swiper flutter最强大的siwiper, 多种布局方式,无限轮播,Android和IOS双端适配. 更多详情信息请移步:https://blog.csdn.net/u011272795/article/details/82776861 转载于:https://www.cnblogs.com/qqcc1388/p/11463318.html

  • 前几个月因为公司业务需求,需要使用跨平台框架Flutter,现在有时间了,记录下这几个月的学习笔记: 一,为什么使用Flutter 1,Flutter上手简单 是面向对象语言,和我以前使用的Java有共同性,使用响应式框架,内置Material Design风格,具有大量的widget库和API,轻松构建用户界面,上手简单。 2,可以快速开发 具有热重载功能,可以快速的进行测试、构建UI、添加功能

 相关资料
  • 百度移动统计现已提供Flutter插件的支持,对于基于Flutter开发的APP,您可以按如下步骤使用百度移动统计SDK,完成基础的埋点统计和上报。 集成方法 在 Flutter 项目的 pubspec.yaml 文件中 dependencies 里面添加 baidu_mob_stat 依赖 dependencies: baidu_mob_stat: ^0.0.2 执行 flutter p

  • 百度移动统计现已提供Flutter插件的支持,对于基于Flutter开发的APP,您可以按如下步骤使用百度移动统计SDK,完成基础的埋点统计和上报。 集成方法 在 Flutter 项目的 pubspec.yaml 文件中 dependencies 里面添加 baidu_mob_stat 依赖 dependencies: baidu_mob_stat: ^0.0.2 执行 flutter p

  • Flutter 由 Google 的工程师团队打造,用于创建高性能、跨平台的移动应用。Flutter 针对当下以及未来的移动设备进行优化,专注于 Android and iOS 低延迟的输入和高帧率。 Flutter 可以给开发者提供简单、高效的方式来构建和部署跨平台、高性能移动应用;给用户提供漂亮、快速、jitter-free 的 app 体验。 Flutter 的主要组件: 一个高度优化, m

  • MissingPluginException(MissingPluginException(在plugins.flutter.io/firebase_core通道上找不到方法firebase#initializecore的实现) 我在试着连接Flutter应用程序中的firebase。这个错误是什么??我用vs代码开发这里是我的代码

  • 1. 初始化小程序 在使用sdk提供的api之前必须要初始化sdk,初始化sdk的接口为 /// /// /// initialize mop miniprogram engine. /// 初始化小程序 /// [appkey] is required. it can be getted from www.finclip.com /// [secret] is requi

  • 诸葛io移动统计支持Flutter框架,以下为集成方法。 1.在项目中添加安装插件 在Flutter项目的pubspec.yaml文件中添加zhugeio依赖包 dependencies: # zhugeio flutter plugin zhugeio: ^1.0.1 执行flutter packages get 命令安装插件 flutter packages get