simple_fontellico_progress_dialog 0.1.1 copy "simple_fontellico_progress_dialog: ^0.1.1" to clipboard
simple_fontellico_progress_dialog: ^0.1.1 copied to clipboard

outdated

This package helps you to render a progress dialog with different types of loading indicator.

Simple Fontellico Progress Dialog ⌛ #

This package helps to render a progress dialog window with different types of loading indicator.

Instalation #

Include simple_fontellico_progress_dialog in your pubspec.yaml file:

dependencies:
  flutter:
    sdk: flutter
  simple_fontellico_progress_dialog: version

Demo Vertical Mode #

Demo Horizontal Mode #

Usage #

To use this package, just import it into your file, create a new instance, pass the context as parameter.

import 'package:simple_fontellico_progress_dialog/simple_fontico_loading.dart';

...

SimpleFontelicoProgressDialog _dialog = SimpleFontelicoProgressDialog(context: context, barrierDimisable:  false);
...

void showDialog() async{
  _dialog.show(message: 'Loading...', type: type);
  await Future.delayed(Duration(seconds: 1));
  _dialog.hide();
}

...

Constructor #

Name Description Required Default
context Buildcontext to render the dialog True
barrierDimisable Boolean value to indicate barrierDimisable on dialog True

To show a dialog, use the show method, to hide it, use the hide method. Simple like that.

Properties used on show method #

Name Description Required Default
message String to indicate a message into the dialog True
type Simple dialog type (normal, threeline, multiline, refresh, hurricane, phoenix, iphone) False normal
width Double value to indicate the dialog width False 100
height Double value to indicate the dialog height False 120
elevation Double value to indicate the dialog elevation False 5.0
radius Double value to indicate the dialog border radius False 5.0
backgroundColor Double value to indicate the dialog background color False Colors.white
duration Duration value to animate loading indicator False 1000 miliseconds
horizontal Boolean value to indicate if loading has to show on horizontal False false
separation Double value to indicate the separation between loading and text False 10.0
57
likes
0
pub points
92%
popularity

Publisher

verified publisherajomuch92.site

This package helps you to render a progress dialog with different types of loading indicator.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on simple_fontellico_progress_dialog