• Stars
    star
    472
  • Rank 93,034 (Top 2 %)
  • Language
    Dart
  • Created over 6 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Flutter相关的项目QQ:277155832 Email:[email protected]

由于GIF太多(大),演示的图片可能会卡,请移步至demonstrationgif文件夹下可查看单个GIF图片

PullToRefresh pub package

Usage

Add this to your package's pubspec.yaml file:

dependencies:
  pulltorefresh_flutter: "^0.1.9"

If you want to use the default refresh image of this project (the rotated image), please download https://raw.githubusercontent.com/baoolong/PullToRefresh_Flutter/master/images/refresh.png to your images folder, and Pubspec.yaml is declared as follows.

If you want to use other images, put the image in the Images folder, declare it in the Pubspec.yaml file, and add the property refreshIconPath in the PullAndPush class.

assets:
  - images/refresh.png

Add it to your dart file:

import 'package:pulltorefresh_flutter/pulltorefresh_flutter.dart';

Example

https://github.com/baoolong/PullToRefresh_Flutter

本功能只实现基本的上下拉刷新,可在这个基础上进行改进、优化、封装,如果只是使用,可在build方法中修改ListView控件和List数组的泛型,已经兼容IOS,已经支持对下拉和上拉的分别控制

仿京东广告滑动切换

模仿的京东潮男模块的广告滑动切换,本人做的比较粗糙,大家可以在此基础上改进,比如滞后滑动,底层图片缩小等,由于没有进行屏幕适配,所以可能不同的手机会显示很丑,这是由于我在设计图片之间的Magin是用屏幕宽度减去两边距屏幕的宽度,再除以3计算的,大家可以根据需要去设定图片之间的Magin,最好固定值

Marquee(跑马灯) pub package

一个用ListView做的跑马灯,可以垂直方向滚动,也可以水平方向滚动

A Marquee widght with ListView,Can scroll vertically or horizontally

Usage

Add this to your package's pubspec.yaml file:

dependencies:
  marquee_flutter: ^0.1.3

Add it to your dart file:

import 'package:marquee_flutter/marquee_flutter.dart';

Example

https://github.com/baoolong/MarqueeWidget

采用ListView绘制,将ListView设置为不可手动滑动,然后启动Timer来回拖动,造成跑马灯的错觉

DragableGridView pub package

采用GridView +OverflowBox +Container的transform属性来完成,基本稳定,现在加入了删除功能和动画,后续持续改进,代码会越来越精简,逻辑会更清晰,学习的朋友可以拿去自己研究改进,添加新功能,下面是示例图

Usage

Add this to your package's pubspec.yaml file:

dependencies:
  dragablegridview_flutter: ^0.2.2

Add it to your dart file:

import 'package:dragablegridview_flutter/dragablegridview_flutter.dart';

And GridView dataBin must extends DragAbleGridViewBin ,Add it to your dataBin file

import 'package:dragablegridview_flutter/dragablegridviewbin.dart';

Example

https://github.com/baoolong/DragableGridview


AdsorptionView pub package

ListView吸顶控件,本控件只适用于ListView的Item高度固定的布局(AdsorptionViewState),如果高度不固定会有偏差。已经更新了非固定高度的吸顶布局(AdsorptionViewNotEqualHeightState),有一点点小问题,请自行解决,里面有如何获取ListView第一个可见Item的方法,可供参考

Usage

Add this to your package's pubspec.yaml file:

dependencies:
  adsorptionview_flutter: ^0.1.3

Add it to your dart file:

import 'package:adsorptionview_flutter/adsorptionview_flutter.dart';

And ListView dataBin must extends AdsorptionData ,Add it to your dataBin file

import 'package:adsorptionview_flutter/adsorptiondatabin.dart';

Example

https://github.com/baoolong/Adsorptionview

More Repositories

1

Flutter-Notebook

FlutterDemo合集,今天你fu了吗
Dart
7,138
star
2

flutter_screenutil

Flutter screen adaptation, font adaptation, get screen information
Dart
3,883
star
3

fluwx

Flutter版微信SDK.WeChat SDK for flutter.
Dart
3,059
star
4

tobias

AliPay For Flutter.支付宝Flutter插件
Objective-C
678
star
5

k_chart

Maybe it is the best k chart in Flutter.
Dart
459
star
6

flutter_oktoast

a pure flutter toast library
Dart
457
star
7

Pangolin

🐾 Flutter 广告SDK-字节跳动-穿山甲 集成
Java
332
star
8

OpenFlutter

Love flutter love life.QQ群:892398530
301
star
9

flutter_listview_loadmore

flutter loadmore demos
Dart
242
star
10

flutter_share_me

Flutter Plugin for sharing contents to social media. You can use it share to Facebook , WhatsApp , Twitter And System Share UI. Support Url and Text.
Swift
151
star
11

nautilus

阿里百川电商Flutter插件。
Objective-C
130
star
12

mini_calendar

Date component developed with Flutter, plans to support display, swipe left and right, add date mark, radio, display week, etc.
Dart
114
star
13

mmkv_flutter

get or set persistent storage value based on MMKV framework.
Dart
101
star
14

flutter_im_demo

📞 Flutter 使用 MQTT实现IM功能
Dart
82
star
15

flutter_gesture_password

flutter_gesture_password
Dart
78
star
16

rammus

Flutter Plugin for AliCloud Push.阿里云推送插件
Kotlin
77
star
17

neeko

Flutter video player widget based on video_player
Dart
70
star
18

FlutterInAction

Flutter In Action.Flutter实践。
46
star
19

flutter_ok_image

a flutter image widget to load image.
Dart
40
star
20

flutter_database_demo

🛠 Flutter 本地数据库存储 + 状态管理
Dart
35
star
21

sona

@Deprecated Not maintained. Developers who need Getui push please visit official plugins
Objective-C
35
star
22

tencent_cos

Flutter plugin for cos
Java
23
star
23

flutter_paging

Paging like android jetpack
Dart
11
star
24

flutter_navigation_bar

解决官方例子会不停销毁重建的问题
Dart
10
star
25

kart

A kotlin-style extension collection for dart.
Dart
7
star
26

flutter_ali_face_verify

Flutter plugin for Ali face verify
Dart
1
star