progress_hud 0.1.2 copy "progress_hud: ^0.1.2" to clipboard
progress_hud: ^0.1.2 copied to clipboard

outdatedDart 1 only

progress_hud is a clean and lightweight HUD meant to display the progress of an ongoing task on your Flutter app

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:progress_hud/progress_hud.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'Flutter Demo',
      theme: new ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: new MyHomePage(title: 'Flutter Demo'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => new _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return new Scaffold(
        appBar: new AppBar(
          title: new Text('ProgressHUD Demo'),
        ),
        body: new Stack(
          children: <Widget>[
            new Text(
                'A clean and lightweight progress HUD for your Flutter app'),
            new ProgressHUD(
              backgroundColor: Colors.black12,
              color: Colors.white,
              containerColor: Colors.blue,
              borderRadius: 5.0,
            )
          ],
        ));
  }
}
10
likes
0
pub points
86%
popularity

Publisher

unverified uploader

progress_hud is a clean and lightweight HUD meant to display the progress of an ongoing task on your Flutter app

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on progress_hud