All Projects → 7449 → flutter_example

7449 / flutter_example

Licence: Apache-2.0 license
flutter code,flutter-banner,flutter-codekk,flutter-panda,flutter_tab

Programming Languages

dart
5743 projects
ruby
36898 projects - #4 most used programming language
kotlin
9241 projects
swift
15916 projects
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to flutter example

swipedetector
A Flutter package to detect up, down, left, right swipes.
Stars: ✭ 34 (-63.83%)
Mutual labels:  flutter-plugin, flutter-demo, flutter-examples, flutter-widget
flutter sliding tutorial
User onboarding library with smooth animation of objects and background colors
Stars: ✭ 127 (+35.11%)
Mutual labels:  flutter-plugin, flutter-demo, flutter-examples, flutter-widget
Gsy flutter demo
Flutter 不同于 GSYGithubAppFlutter 完整项目,本项目将逐步完善各种 Flutter 独立例子,方便新手学习上手和小问题方案解决。 目前开始逐步补全完善,主要提供一些有用或者有趣的例子,如果你也有好例子,欢迎提交 PR 。
Stars: ✭ 2,140 (+2176.6%)
Mutual labels:  flutter-plugin, flutter-demo, flutter-examples, flutter-widget
stuff
Crud operation with Firebase
Stars: ✭ 80 (-14.89%)
Mutual labels:  flutter-demo, flutter-examples, flutter-widget
Flutter Learning
🔥 👍 🌟 ⭐ ⭐⭐ Flutter all you want.Flutter install,flutter samples,Flutter projects,Flutter plugin,Flutter problems,Dart codes,etc.Flutter安装和配置,Flutter开发遇到的难题,Flutter示例代码和模板,Flutter项目实战,Dart语言学习示例代码。
Stars: ✭ 4,941 (+5156.38%)
Mutual labels:  flutter-plugin, flutter-examples, flutter-widget
flutter bolg manage
Flutter实战项目,采用Getx框架管理,遵循Material design设计风格,适合您实战参考或练手
Stars: ✭ 373 (+296.81%)
Mutual labels:  flutter-plugin, flutter-examples, flutter-widget
flutter-UI
将Flutter各种Widget各种API📘都实现一次。喜欢请Star。
Stars: ✭ 67 (-28.72%)
Mutual labels:  flutter-demo, flutter-examples, flutter-widget
barcode.flutter
barcode generate library for Flutter
Stars: ✭ 58 (-38.3%)
Mutual labels:  flutter-plugin, flutter-examples, flutter-widget
Knockdown-Flutter
Enough exercises to knockdown the fear of Flutter in you 👊
Stars: ✭ 33 (-64.89%)
Mutual labels:  flutter-demo, flutter-examples, flutter-widget
flutter-app
Full Feature Todos Flutter Mobile app with fireStore integration.
Stars: ✭ 138 (+46.81%)
Mutual labels:  flutter-plugin, flutter-examples, flutter-widget
car rental lite
A platform for car sharing where users can book any car that suits their needs and wants for their intended journey, from the closest hosts in the community.
Stars: ✭ 28 (-70.21%)
Mutual labels:  flutter-demo, flutter-examples, flutter-widget
Interactive-Add-Button-Layout
Custom Layout with interactive add button to impove your UI and UX .
Stars: ✭ 20 (-78.72%)
Mutual labels:  flutter-demo, flutter-examples, flutter-widget
Flutter-Apps
🌀 This is mainly focus on a complete application for production
Stars: ✭ 18 (-80.85%)
Mutual labels:  flutter-plugin, flutter-examples, flutter-widget
Best Flutter Ui Templates
completely free for everyone. Its build-in Flutter Dart.
Stars: ✭ 13,448 (+14206.38%)
Mutual labels:  flutter-demo, flutter-examples, flutter-widget
Flutter ui challenges
100+ Professional UI implementations with Code in Flutter. Available in Android, iOS, Linux and Web
Stars: ✭ 3,473 (+3594.68%)
Mutual labels:  flutter-demo, flutter-examples, flutter-widget
E-commerce
A Flutter E-commerce by implementing the Carousel and other flutter components
Stars: ✭ 36 (-61.7%)
Mutual labels:  flutter-plugin, flutter-demo, flutter-examples
backdrop
Backdrop implementation in flutter.
Stars: ✭ 203 (+115.96%)
Mutual labels:  flutter-demo, flutter-examples, flutter-widget
flutter-tips
My collection of Flutter development tips
Stars: ✭ 36 (-61.7%)
Mutual labels:  flutter-demo, flutter-examples, flutter-widget
Motion-Tab-Bar
A beautiful animated flutter widget package library. The tab bar will attempt to use your current theme out of the box, however you may want to theme it.
Stars: ✭ 237 (+152.13%)
Mutual labels:  flutter-plugin, flutter-demo, flutter-widget
flutter todos
A cross platform todo list app using flutter, sqlite etc. If you read the code, you will understand how to create simple elegant mobile app using Flutter and Dart language.
Stars: ✭ 60 (-36.17%)
Mutual labels:  flutter-demo, flutter-examples, flutter-widget

flutter_example

flutter code

update log

运行项目

请使用最新版本的flutter运行demo

18.6.3

新增Tab

18.5.19

新增BannerWidget轮播图

18.5.14

去掉new以及const关键字

项目地址

Flutter示例集合

项目blog

初始化项目和闪屏页
添加Tab和Drawer
列表页完善,网络请求
列表详情页

flutter

github地址
官方地址
官方文档地址
Flutter中文开发者论坛
中文文档

blog

Flutter番外篇:Dart
第一章:什么是Flutter
第二章:安装Flutter
第三章:编写一个FlutterApp
第四章:框架预览
第五章:Widget目录
第六章:面对Android开发的Flutter说明
第七章:面对ReactNative开发的Flutter说明
第八章:手势
第九章:动画
第十章:布局约束
第十一章:处理 assets 和 图像
json序列化

flutter_tab_widget

使用方法

适用于嵌套Tab.

  final List<TabEntity> entity = [
    new TabEntity(title: '直播'),
    new TabEntity(title: '视频'),
    new TabEntity(title: '播报'),
  ];
  
   @override
   Widget build(BuildContext context) {
     return Scaffold(
       appBar: AppBar(
         title: Text('Flutter TabWidget'),
         elevation: 0.0,
       ),
       body: TabWidget(
         onPageChanged: (position) {
           print(position);
         },
         children: <Widget>[
           Container(color: Colors.white, child: Center(child: Text('直播'))),
           Container(color: Colors.pink, child: Center(child: Text('视频'))),
           Container(color: Colors.blue, child: Center(child: Text('播报'))),
         ],
         entity: entity,
       ),
     );
   }

flutter_banner_widget

使用方法

继承BannerEntity,实现两个方法

示例:

class SimpleEntity extends BannerEntity {
  final String obj;
  final String url;
  final String title;

  SimpleEntity({this.obj, this.url, this.title});

  @override
  get bannerUrl => url;

  @override
  get bannerTitle => title;
}

或者:

class SimpleEntity extends Object with BannerEntity {
  final String obj;
  final String url;
  final String title;

  SimpleEntity({this.obj, this.url, this.title});

  @override
  get bannerUrl => url;

  @override
  get bannerTitle => title;
}

widget:

 BannerWidget(entity: entity)
加载本地图片

实现build方法,返回对应的widget

  BannerWidget(
              build: (position, entity) {
                return Image.asset(entity.bannerUrl, fit: BoxFit.cover);
              },
              entity: localEntity,
            )
点击事件
BannerWidget(
            entity: entity,
            bannerPress: (position, entity) {
              SimpleEntity bannerEntity = entity;
              print('position:${position},entity:${bannerEntity.obj}');
            },
          )

flutter_zhihu_zhuanlan

目前没有比较好的办法加载一段html代码,只能以text的形式直接显示

flutter_codekk

目前codeKK-Android的功能已经使用flutter全部实现

项目因为使用了json_serializable,但是没有提交自动生成的文件,需要在运行之前执行flutter packages pub run build_runner build 否则entity目录会报错

因为flutter处于急速更迭中,有时候会和插件有冲突,为了防止这种事情发生,提交.g文件

布局的几种模式可以查看StatusWidget,截图只展示ERROR

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].