FLUTTER ECOSYSTEM

Creativity-AI-Studio/flutter_animated_dialog

슬라이드, 페이드, 회전, 크기 스케일, 3D 회전 애니메이션을 포함한 아름다운 애니메이션 시리즈를 가진 새로운 Flutter 대화 상자입니다.

flutter_animated_dialog 프로젝트 이미지
Stars
23
Forks
51
최근 푸시(UTC)
2024. 8. 18.
프로젝트 상태
활성
Creativity-AI-Studio GitHub avatar
언어DartObjective-CJava

기술 주제

사용 중인 의존성

의존성 목록 2 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

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

https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/size.gif

Getting Started

dependencies:
  flutter_animated_dialog: ^1.2.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

https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/default.gif
default
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/fade.gif
fade
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/slideFromTop.gif
slideFromTop
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/slideFromBottom.gif
slideFromBottom
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/slideFromBottomFade.gif
slideFromBottomFade
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/slideFromLeft.gif
slideFromLeft
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/slideFromLeftFade.gif
slideFromLeftFade
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/slideFromRight.gif
slideFromRight
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/slideFromRightFade.gif
slideFromRightFade
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/scale.gif
scale
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/fadeScale.gif
fadeScale
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/scaleRotate.gif
scaleRotate
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/rotate.gif
rotate
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/rotate3D.gif
rotate3D
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/size.gif
size
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/sizeFade.gif
sizeFade
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/generalDialog.gif
generalDialog
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/listSingleSelect.gif
listSingleSelect
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/listDialog.gif
listDialog
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/listMultipleSelect.gif
listMultipleSelect
https://raw.githubusercontent.com/JackJonson/flutter_animated_dialog/master/screenshots/customDialog.gif
customDialog
showAnimatedDialog param
property description
context BuildContext (Not Null)(required)
barrierDismissible bool (default false)
builder WidgetBuilder (Not Null)(required)
animationType DialogTransitionType (default DialogTransitionType.fade)
curve Curve (default Curves.linear)
duration Duration (default const Duration(milliseconds: 400))
alignment AlignmentGeometry (default Alignment.center)

Example

example