somedialog 1.0.1

Flutter Android iOS

Flutter package for handle a nice dialog ui using assets, netwok, and lottie

Somedialog #

pub package License support

Flutter package for handle a nice dialog ui using assets, netwok, and lottie image

Help Maintenance #

I've taken the time to make this library, help support to develop it or buy me coffee and snacks to be even more enthusiastic <br/> Buy Me A Coffee Paypal


Dialog

Getting Started #

Setup #

Add dependency to your pubspec.yaml:

somedialog: ^{latest_version}

Basic use #

First, add an import to your code:

import 'package:somedialog/somedialog.dart';

FlatButton(
              child: Text("Show Dialog"),
              onPressed: () {
                SomeDialog(
                  context: context,
                  path: "assets/report.json",
                  mode: SomeMode.Lottie,
                  content:
                      "Please before tracking, double-check the code you entered!",
                  title: "Are you sure ?",
                  submit: () {
                  }
                );
              },
            )

SomeMode #

SomeMode
Lottie
Network
Asset

Parameters #

parametertypesdefaultValues
buttonConfigbuttonConfigButtonConfig()
pathstring
titlestring
contentstring
dialogHeightdouble310
imageHeightdouble150
imageWidthdouble150
submitFunction
modeSomeModeSomeMode.Lottie
14
likes
80
pub points
65%
popularity

Flutter package for handle a nice dialog ui using assets, netwok, and lottie

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

irvan.devv17@gmail.com

License

MIT (LICENSE)

Dependencies

cached_network_image, flutter, google_fonts, lottie

More

Packages that depend on somedialog