legacy_progress_dialog 0.0.4 copy "legacy_progress_dialog: ^0.0.4" to clipboard
legacy_progress_dialog: ^0.0.4 copied to clipboard

discontinued
outdated

Helps developers improve user-experiece using a progress indicator and a loading message.

example/example.dart

import 'package:flutter/material.dart';
import 'package:progress_dialog/legacy_progress_dialog.dart';

class ExampleScreen extends StatefulWidget {
  @override
  _ExampleScreenState createState() => _ExampleScreenState();
}

class _ExampleScreenState extends State<ExampleScreen> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text('Progress Dialog'),
          centerTitle: true,
          brightness: Brightness.dark,
          backgroundColor: Colors.blue,
          titleTextStyle: TextStyle(color: Colors.white),
        ),
        body: Center(
            child: FlatButton(
              child: Text('Show Progress Dialog'),
              textColor: Colors.white,
              color: Colors.blue,
              onPressed: () {

                ProgressDialog progressDialog = ProgressDialog(
                  context: context,
                  backgroundColor: Colors.blue,
                );

                progressDialog.show();
                Future.delayed(Duration(seconds: 3)).then((value) => progressDialog.dismiss());
              },
            )));
  }
}
9
likes
0
points
412
downloads

Publisher

verified publisherasadhameed.com

Weekly Downloads

Helps developers improve user-experiece using a progress indicator and a loading message.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on legacy_progress_dialog