All Projects → best-flutter → Flutter_refresh

best-flutter / Flutter_refresh

Licence: mit
A Flutter plugin for refreshing every scrollable view by pulling down-up.

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to Flutter refresh

Phoenix
Phoenix Pull-to-Refresh
Stars: ✭ 4,048 (+5682.86%)
Mutual labels:  pull-to-refresh
Pullrefreshlayout
下拉刷新,上拉加载,真实的回弹(overscroll)效果(媲美qq),且大小只有37KB(是其他主流刷新库或回弹库的1/2,1/3,甚至是1/4),同时,自定义header和footer,可以实现任何你想的到的功能(例如:自动触发加载更多、二级刷新等)
Stars: ✭ 639 (+812.86%)
Mutual labels:  pull-to-refresh
Refresher
DEPRECATED: Pull to refresh in Swift
Stars: ✭ 885 (+1164.29%)
Mutual labels:  pull-to-refresh
React Native Pull Refresh
Custom pull to refresh component for Android
Stars: ✭ 456 (+551.43%)
Mutual labels:  pull-to-refresh
Pulltorefreshkit
【Deprecated】Pull to refresh in Swift, easy to use, easy to customize(下拉刷新/QQ/淘宝/优酷/雅虎天气/大众点评)
Stars: ✭ 533 (+661.43%)
Mutual labels:  pull-to-refresh
Liquid Pull To Refresh
🔁 A custom refresh indicator for flutter.
Stars: ✭ 769 (+998.57%)
Mutual labels:  pull-to-refresh
Pull To Reload
Pull to reload implementation for the web. Designed to work with both mobile and websites.
Stars: ✭ 396 (+465.71%)
Mutual labels:  pull-to-refresh
Ultimaterefreshview
UltimateRefreshView 实现下拉刷新,上拉加载更多的轻量级库;支持RecyclerView ,ListView ,ScrollView & WebView
Stars: ✭ 64 (-8.57%)
Mutual labels:  pull-to-refresh
Smartrefreshlayout
🔥下拉刷新、上拉加载、二级刷新、淘宝二楼、RefreshLayout、OverScroll,Android智能下拉刷新框架,支持越界回弹、越界拖动,具有极强的扩展性,集成了几十种炫酷的Header和 Footer。
Stars: ✭ 23,185 (+33021.43%)
Mutual labels:  pull-to-refresh
Crrefresh
An easy way to use pull-to-refresh
Stars: ✭ 832 (+1088.57%)
Mutual labels:  pull-to-refresh
Pulltomakeflight
Custom animated pull-to-refresh that can be easily added to UIScrollView
Stars: ✭ 497 (+610%)
Mutual labels:  pull-to-refresh
Web Pull To Refresh
A native-like JavaScript pull to refresh implementation for the web.
Stars: ✭ 530 (+657.14%)
Mutual labels:  pull-to-refresh
Swiperefreshlayout
swipeRefreshLayout refresh pull-to-refresh
Stars: ✭ 26 (-62.86%)
Mutual labels:  pull-to-refresh
Swiftpulltorefresh
An easy way to implement pull-to-refresh feature based on UIScrollView extension, written in Swift 4.
Stars: ✭ 451 (+544.29%)
Mutual labels:  pull-to-refresh
Kafkarefresh
Animated, customizable, and flexible pull-to-refresh framework for faster and easier iOS development.
Stars: ✭ 1,033 (+1375.71%)
Mutual labels:  pull-to-refresh
Scrollload
scroll bottom load more data pull refresh 滚动到底部加载更多数据 下拉刷新
Stars: ✭ 411 (+487.14%)
Mutual labels:  pull-to-refresh
Vue Pull To
⚡️ A pull-down refresh and pull-up load more and infinite scroll component for Vue.js --Vue下拉刷新组件
Stars: ✭ 708 (+911.43%)
Mutual labels:  pull-to-refresh
Pulltorefresh
This component implements pure pull-to-refresh logic and you can use it for developing your own pull-to-refresh animations
Stars: ✭ 1,150 (+1542.86%)
Mutual labels:  pull-to-refresh
Pulltorefresh H5 Iscroll
基于IScroll5的PullToRefresh实现.。提供多套皮肤机制,便于拓展!
Stars: ✭ 56 (-20%)
Mutual labels:  pull-to-refresh
Pullrefresh
前端, 下拉刷新
Stars: ✭ 7 (-90%)
Mutual labels:  pull-to-refresh

flutter_refresh

A Flutter plugin for refreshing every scrollable view by pulling down-up.

Show cases

Roadmap

see:ROADMAP.md

Changelogs

see:CHANGELOG.md

Quick Start

Installation

1 Add

flutter_refresh : ^0.0.1

to your pubspec.yaml ,and run

flutter packages get 

in your project's root directory.

2 Add


import 'package:flutter_refresh/flutter_refresh.dart';

and write the code like this:



  Future<Null> onFooterRefresh() {
    return new Future.delayed(new Duration(seconds: 2), () {
      setState(() {
        _itemCount += 10;
      });
    });
  }

  
  Future<Null> onHeaderRefresh() {
    return new Future.delayed(new Duration(seconds: 2), () {
      setState(() {
        _itemCount = 10;
      });
    });
  }


  @override
  Widget build(BuildContext context) {
    ...
    return new Refresh(
          onFooterRefresh: onFooterRefresh,
          onHeaderRefresh: onHeaderRefresh,
          childBuilder: (BuildContext context,
              {ScrollController controller, ScrollPhysics physics}) {
            return new Container(
                child: new ListView.builder(
              physics: physics,
              controller: controller,
              itemBuilder: _itemBuilder,
              itemCount: _itemCount,
            ));
          },
        );
  }



full example see here: main.dart.

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].