搜索插件、代码仓与 APP 分类

sidebar_with_animation 封面
插件详情v0.0.3

sidebar_with_animation

带有动画收起效果的平滑侧边栏,可完全自定义以适应您自己的设计需求,适用于 Flutter 应用

WebmacOSWindowsLinux
近 30 天下载
112
喜欢数
66
Pub 分数
150

安装插件

flutter pub add sidebar_with_animation

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

一个 Flutter 包,提供带有平滑过渡的动画可折叠侧边栏,支持完全自定义。适用于需要动态导航界面的应用程序,可在 Web、macOS、Windows 和 Linux 等多个平台上实现无缝展开和折叠动画。开发者可以根据设计需求自定义侧边栏的外观和行为。该包轻量且易于集成到现有的 Flutter 项目中。

适合场景

  • 自定义导航面板
  • 仪表板界面
  • 响应式应用布局
  • 交互式UI组件
  • 跨平台导航

主要特点

  • 流畅的动画过渡
  • 完全可自定义的设计
  • 可折叠/展开行为
  • 多平台支持
  • 与 Flutter 的轻松集成

适合对象

  • 开发人员构建仪表板
  • 需要交互式导航的设计人员
  • 需要响应式布局的应用
  • 跨平台 Flutter 项目
  • UI密集型应用

使用建议

  • 需要理解Flutter布局原理
  • 可能需要额外的样式来实现复杂的设计
  • 性能取决于动画的复杂程度
  • 仅限侧边栏特定用例
  • 最适合具有清晰导航层级的应用程序

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Description

Animated collapsible sidebar for Flutter apps " macOS & Web & Windows & Linux " with very cool animation and responsive with full control to customize the colors and texts and almost everything

This package supports all platforms listed below.

platforms:
  • linux
  • macos
  • web
  • windows

Features

Values that you can customize

Usage


SideBarAnimated(
    onTap: (s) {
      //use the index to change the main screens
    },
      //add or remove divider for settings
    widthSwitch: 700,
    mainLogoImage: 'assets/logo.png',
    sidebarItems: [
      ///add side bar Items
      SideBarItem(
    iconSelected: Icons.home_rounded,
    //unselected just if you need to use two different icons 
    iconUnselected: Icons.home_outlined,
    text: 'Home',
       ),
    ],
    ),

Additional information

This is v1 is mainly made for Flutter web , macOS and Windows "Big screens" will improve it by the time to make it good for small screens as well, Thanks.
Love to hear from you and get feedback and upgrade requests

animated_side_bar

所属分类

源码仓库

使用此插件的项目