letter_refresh_indicator 0.1.0 copy "letter_refresh_indicator: ^0.1.0" to clipboard
letter_refresh_indicator: ^0.1.0 copied to clipboard

discontinued
outdated

Flutter letter indicator widget.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:letter_refresh_indicator/letter_refresh_indicator.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'letter_refresh_indicator demo',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text("letter_refresh_indicator demo")),
      body: LetterRefreshIndicator(
        accent: Colors.lightGreen,
        onRefresh: () async => Future<void>.delayed(Duration(seconds: 2)),
        child: ListView(
          children: <Widget>[],
        ),
      ),
    );
  }
}
1
likes
30
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter letter indicator widget.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

custom_refresh_indicator, flutter

More

Packages that depend on letter_refresh_indicator