flutter_animated_dialog 1.1.0

Flutter Android iOS web

A new Flutter dialog with a series of beautiful animations, slide fade rotate size scale rotate3D animations.

flutter_animated_dialog #

A new Flutter dialog with a series of beautiful animations, slide fade rotate size scale rotate3D animations. Dialog barrier include status bar at the top of screen, solved the problem of default dialog.

demo #

Getting Started #

dependencies:
  flutter_animated_dialog: ^1.1.0
import 'package:flutter_animated_dialog/flutter_animated_dialog.dart';
showAnimatedDialog(
  context: context,
  barrierDismissible: true,
  builder: (BuildContext context) {
    return ClassicGeneralDialogWidget(
      titleText: 'Title',
      contentText: 'content',
      onPositiveClick: () {
        Navigator.of(context).pop();
      },
      onNegativeClick: () {
        Navigator.of(context).pop();
      },
    );
  },
  animationType: DialogTransitionType.size,
  curve: Curves.fastOutSlowIn,
  duration: Duration(seconds: 1),
);

🚀 Roadmap #


default

fade

slideFromTop

slideFromBottom

slideFromBottomFade

slideFromLeft

slideFromLeftFade

slideFromRight

slideFromRightFade

scale

fadeScale

scaleRotate

rotate

rotate3D

size

sizeFade

generalDialog

listSingleSelect

listDialog

listMultipleSelect

customDialog

showAnimatedDialog param #

propertydescription
contextBuildContext (Not Null)(required)
barrierDismissiblebool (default false)
builderWidgetBuilder (Not Null)(required)
animationTypeDialogTransitionType (default DialogTransitionType.fade)
curveCurve (default Curves.linear)
durationDuration (default const Duration(milliseconds: 400))
alignmentAlignmentGeometry (default Alignment.center)

Example #

example

23
likes
110
pub points
84%
popularity

Publisher

tookit.cn

A new Flutter dialog with a series of beautiful animations, slide fade rotate size scale rotate3D animations.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache 2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_animated_dialog