simpleprogressdialog 1.0.4 copy "simpleprogressdialog: ^1.0.4" to clipboard
simpleprogressdialog: ^1.0.4 copied to clipboard

outdated

Simple Flutter Progress Dialog that giving access to the ability to style, position and customize the content (message, title and progress indicator) .

example/main.dart

import 'dart:async';

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

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Center(
      child: RaisedButton(
        onPressed: () {
          ProgressDialog dialog = ProgressDialog(context: context)
            ..show(
                message: "Please wait...",
                title: "Fetching Data",
                centerTile: true,
                titleStyle: TextStyle(fontSize: 40, color: Colors.orange[900]),
                messageStyle: TextStyle(fontSize: 20, color: Colors.green));
          Timer(Duration(seconds: 10), () {
            dialog.dismiss();
          });
        },
      ),
    );
  }
}
7
likes
0
pub points
52%
popularity

Publisher

unverified uploader

Simple Flutter Progress Dialog that giving access to the ability to style, position and customize the content (message, title and progress indicator) .

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on simpleprogressdialog