パッケージ、リポジトリ、アプリカテゴリを検索

GitHub リポジトリBorisGautier/aestheticDialogs

aestheticDialogs

📱 💫滑らかで、😍美しい、🎨カスタムダイアログ用のFlutterプラグイン

aestheticDialogs のプロジェクト画像
スター
24
フォーク
3
最終プッシュ(UTC)
2022/01/01
プロジェクト状態
公開中

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

AestheticDialogs v0.0.15

AestheticDialogs is inspired by Laravel Notify This Flutter plugin allows you to display nice custom dialog boxes. It is only available on Android at the moment.

Android Version : AestheticDialogs

screen.png

Install

Kotlin version : minimum 1.3.40

AestheticDialog use AppCompat Themes

Add the dependency

dependencies {
	...
	implementation 'androidx.appcompat:appcompat:1.2.0'
}

Follow the instructions to integrate a package into your Flutter application. Make sure you also use the AppCompat themes :

  • Download the colors.xml file and paste it into your project: "/android/app/src/main/res/values/".
  • Download the styles.xml file and replace it into your project: "/android/app/src/main/res/values/".
How to use it?
import 'package:AestheticDialogs/AestheticDialogs.dart';

...

AestheticDialogs.showDialog(
        title: "My Dialog",
        message: "Hello!!!",
        cancelable: true,
        darkMode: false,
        dialogAnimation: DialogAnimation.IN_OUT,
        dialogGravity: DialogGravity.CENTER,
        dialogStyle: DialogStyle.EMOJI,
        dialogType: DialogType.INFO,
        duration: 3000);

The time is expressed in milliseconds and by default it is 3000ms. A more complete example can be found in the "example" folder of the Git repository.

Types of Dialog

AestheticDialog At this moment, library provides eight types of dialog i.e.

1. Flash Dialog 2. Connectify Dialog 3. Toaster Dialog
4. Emotion Dialog 5. Drake Dialog 6. Emoji Dialog
7. Rainbow Dialog 8. Flat Dialog

Dark Mode

AestheticDialog Also provides Dark Theme for some dialogs i.e.

1. Connectify Dark Dialog 2. Toaster Dark Dialog 3. Emoji Dark Dialog
4. Flat Dark Dialog LET's USE aesthetic Dialog !

Constants

DIALOG STYLE DIALOG TYPE DIALOG ANIMATION
RAINBOW
FLAT
CONNECTIFY
TOASTER
DRAKE
EMOJI
EMOTION
SUCCESS
ERROR
WARNING
INFO
DEFAULT
SLIDE_UP, SLIDE_DOWN
SLIDE_LEFT, SLIDE_RIGHT
SWIPE_LEFT, SWIPE_RIGHT
IN_OUT
CARD
SHRINK
SPLIT
DIAGONAL
SPIN
WINDMILL
FADE
ZOOM

Demo

You can download the demo app on PlayStore

Contribute

You can contribute us by filing issues, bugs and PRs.

Contributing:
  • Open issue regarding proposed change.
  • Repo owner will contact you there.
  • If your proposed change is approved, Fork this repo and do changes.
  • Open PR against latest dev branch. Add nice description in PR.
  • You're done!
Boris Gautier  GitHub avatar
GitHub 作者

Boris Gautier ↗

Software Development Engineer - Lead Developper - SIG Developper - Flutter

@GPChat-Platform, @GeOsmFamily Douala,Cameroun公式サイト ↗
言語DartKotlinHTMLRubyObjective-CSwift

カテゴリー

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 3 件

  • flutter{"sdk":"flutter"}
  • flutter_web_plugins{"sdk":"flutter"}
  • flutter_test開発用{"sdk":"flutter"}

プロジェクトに合うリポジトリを選ぶには?

用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。

  1. 名前・作者・説明で検索し、技術トピックで絞り込みます。
  2. スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
  3. 利用前に GitHub で README、ライセンス、Issues を確認します。

情報源と管理

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗