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

full_screen_menu 封面
插件详情v3.1.1

full_screen_menu

适用于Flutter应用的全屏菜单,以美观的方式为用户提供多种选项

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
858
喜欢数
90
Pub 分数
160

安装插件

flutter pub add full_screen_menu

插件介绍

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

一个 Flutter 包,为移动和桌面应用程序提供全屏菜单,具有视觉吸引力且可自定义的变体。它使开发者能够在 Android、iOS、Web、macOS、Windows 和 Linux 平台上实现沉浸式导航体验。该菜单支持流畅的动画和响应式布局,非常适合需要优雅、用户友好的导航界面的应用程序。基于 Flutter 的灵活性构建,可轻松集成到现有项目中,设置简单。

适合场景

  • 沉浸式应用导航
  • 可自定义的侧边菜单
  • 响应式用户界面设计
  • 增强的用户入门
  • 现代仪表板界面
  • 跨平台菜单实现

主要特点

  • 全屏布局支持
  • 多种视觉变体
  • 流畅的动画
  • 跨平台兼容性
  • 轻松集成
  • 可自定义样式

适合对象

  • 移动和桌面应用程序开发人员
  • 注重设计的应用程序
  • 需要丰富导航的应用
  • 使用Flutter的UI/UX设计师
  • 具有复杂导航需求的项目

使用建议

  • 可能需要在低端设备上进行性能优化
  • 除了基本用法外,文档有限
  • 与其他导航包的潜在重叠
  • 最适合注重视觉吸引力而非极简主义的应用程序

原始 README

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

Full Screen Menu for Flutter

Pub Version

Installing:

  1. Add the dependency in your pubspec.yaml file.
dependencies:
  full_screen_menu: ^2.0.0
  1. Import the settings_ui package.
import 'package:full_screen_menu/full_screen_menu.dart';

Basic Usage:

    FullScreenMenu.show(
      context,
      items: [
        Image.asset('assets/image.png'),
        FSMenuItem(
          icon: Icon(Icons.ac_unit, color: Colors.white),
          text: Text('Make colder'),
          gradient: orangeGradient,
          onTap: () => print('The weather is colder now');
        ),
        FSMenuItem(
          icon: Icon(Icons.wb_sunny, color: Colors.white),
          text: Text('Make hotter'),
          gradient: blueGradient,
          onTap: () => print('The weather is hotter now');
        ),
      ],
    );


Full Screen Menu Base Widget

The Full Screen Menu Base Widget is the block of your menu items located in your screen

Parameters
Parameter Description Required
Color backgroundColor Set a background color of your FullScreenMenu +
VoidCallback onHide Set a function which is called by pressing FAB -
List items Set a menu items which you want to display -
BuildContext context Set the context of your parent widget -
Function(AnimationController) animationController Setup your animation when open full screen menu +




FSMenuItem

The Full Screen Menu Base Widget is the block of your menu items located in your screen

Parameters
Parameter Description Required
Text text Set the text that will be displayed on the item -
Icon icon Set the icon that will be displayed on the item -
Function onTap Set The function that will be called when you click on item +
Gradient gradient Set a gradient that will fill the background of your icon +




License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details

所属分类

依赖

依赖清单 1 项

源码仓库

使用此插件的项目

暂无相关数据。