搜尋套件、儲存庫與 APP 分類

套件詳情v0.0.7

animate_routes

animate_routes 是一個極簡庫,可在您在螢幕之間導航時提供一些酷炫的動畫過渡效果。

近 30 天下載
68
喜歡數
26
Pub 分數
70

安裝套件

flutter pub add animate_routes

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

animate_routes 是一個輕量級的 Flutter 套件,可實現流暢且視覺效果出色的畫面轉場動畫,並支援自訂動畫。設計簡單,讓開發者能輕鬆地在路由之間導航時加入進入與離開動畫。該套件可無縫整合至現有的 Flutter 應用中,無需複雜設定。支援常見的動畫類型,如滑動、淡入淡出和縮放效果,透過流暢的導航提升使用者體驗。適合希望以最少努力提升 UI 精緻度的應用。

適用情境

  • 在移動應用中添加動畫螢幕過渡
  • 透過導航過程中的視覺反饋提升使用者體驗
  • 建立精緻的入門流程
  • 使用最少的程式碼實現自訂路由動畫
  • 透過微妙的動態效果改善應用美學

主要特色

  • 極簡 API 設計
  • 支援多種動畫類型(滑動、淡入淡出、縮放)
  • 與 MaterialApp 或 Navigator 的輕鬆整合
  • 可自訂的動畫持續時間和曲線
  • 輕量且無依賴

適合對象

  • Flutter 初學者探索動畫
  • 尋求快速 UI 增強的開發者
  • 具有引導或教學畫面的應用程式
  • 專注於透過動態效果提升使用者參與度的專案
  • 重視程式碼潔淨與可維護性的團隊

使用建議

  • 僅限基本動畫類型
  • 無內建的複雜自定義動畫支援
  • 可能需要額外的樣式設定以實現進階效果
  • 不適合高度動態或資料驅動的過渡
  • 依賴外部 GitHub 倉庫以取得更新

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

animate_routes is a minimalist library to provider some cool transition animation when you navigate between the screens ,also provide some shorcuts to navigate easily and you can open the dialog in just three lines of code .

Features

animate_routes isn't a route manger itself is just a hack of productivy . AnimatedRoute allow you to open snackbar, open bottomSheet and dialog easily with less boilerplate .

Getting started

Installing

Add animate_routes to your pubspec.yaml file:

dependencies:
  animate_routes:

Import animate_routes in files that it will be used:

import 'package:animate_routes/animate_routes.dart';

You can use just like this

context.go(AnimateRoute(transition:Transition.downToUp,screen:Home()));
or 
Navigator.of(context).push(AnimateRoute(transition:Transition.downToUp,screen:Home()));

animate_routes provide a cool and easy api to open dialog

with animate_routes is very easi to open and animate dialog with just one line of code

context.openDialog();

or 

context.openDialog(
  transition:TransitionDialog.left,
  title: 'My title',
  content: "My content"
);

Want to contribute to the project? We will be proud to highlight you as one of our collaborators. Here are some points where you can contribute and make animate_routes even better.

  • Helping to add more features
  • Offering PRs for code/tests.
  • Including new functions.

Any contribution is welcome!

所屬分類

依賴

依賴清單 1 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。