show_dialog 1.0.3 copy "show_dialog: ^1.0.3" to clipboard
show_dialog: ^1.0.3 copied to clipboard

A Package for Launch Dialogs As Easy As Poosible Like About Dialog, Loading Dialog and Many More

example/main.dart

import 'package:flutter/material.dart';
import 'package:show_dialog/show_dialog.dart' as dialog;

class MyApp extends StatelessWidget{
  @override
  Widget build (BuildContext context){
    return Scaffold(
      body: Column(
        children: <Widget> [
          Container(
            child: RaisedButton(
              child: Text("About Dialog"),
              onPressed: (){
                dialog.aboutDialog(context, "title", "content");
              }
            ),
          ),
          Container(
            child: RaisedButton(
              child: Text("Loading Dialog"),
              onPressed: (){
                dialog.loadingDialog(context, 3);
              }
            ),
          ),
        ]
      ),
    );
  }
}
4
likes
40
pub points
30%
popularity

Publisher

verified publisherdplyr.dev

A Package for Launch Dialogs As Easy As Poosible Like About Dialog, Loading Dialog and Many More

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on show_dialog