搜尋分類、套件與程式碼儲存庫

GitHub 儲存庫SwaroopSambhayya/delight_toast

delight_toast

SwaroopSambhayya/delight_toast open-source repository details.

delight_toast 專案封面
星標
25
分支
16
最近推送(UTC)
2023年12月12日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

A delighful and very interactive toast or a snackbar to add more delight to your application

ezgif com-video-to-gif

https://github.com/SwaroopSambhayya/delight_toast/assets/31922733/45b77a2e-7a73-44a0-899d-8d2f740097fb

Features

  1. Trigger a toastbar
  2. Slide to dismiss a toastbar
  3. Auto dimiss a toastbar
  4. Dismiss on demand via action buttons
  5. Stacking a toasbar in a delightful way!

Getting started

In pubspec.yaml

    delightful_toast: ^1.1.0
// add the import statement
import  'package:delightful_toast/delight_toast.dart';

Usage

Use the toasbar whenever a event has been triggered like onPressed/onTapped or in any other situation where the event is enforced

ElevatedButton( onPressed:(){
     DelightToastBar(
              builder: (context) => const ToastCard(
                leading: Icon(
                  Icons.flutter_dash,
                  size: 28,
                ),
                title: Text(
                  "Hi I'm Dash, Let's have a walkthrough of Delight Toast",
                  style: TextStyle(
                    fontWeight: FontWeight.w700,
                    fontSize: 14,
                  ),
                ),
              ),
            ).show(context);

},
     child: const Text("Toast!")
)
Swaroop S GitHub avatar
GitHub 作者

Swaroop S ↗

Hello there! I'm Swaroop Sambhayya, a passionate Software developer working at Sony, with a strong background in mobile app development

SonyBangalore
語言Dart

此儲存庫發佈的套件

使用的依賴

依賴清單 4 項

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

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

GitHub Docs — About repositories ↗