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

插件详情v0.0.3

highlighter_coachmark

教练标记通过模糊背景并突出目标元素,在覆盖层中显示提供的提示或说明。

近 30 天下载
63
喜欢数
142
Pub 分数
40

安装插件

flutter pub add highlighter_coachmark

插件介绍

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

Highlighter Coachmark 是一个 Flutter 包,通过显示提示或说明作为覆盖层,引导用户了解应用功能。它会模糊背景并突出显示特定的 UI 元素,非常适合用于引导用户或功能演示。该包通过吸引用户注意力到关键组件,同时不干扰界面,从而提升用户体验。支持自定义样式和流畅动画,呈现精致效果。设计简洁且易于集成,帮助开发者以最少的努力实现直观的引导流程。

适合场景

  • 引导新用户
  • 突出显示新功能
  • 引导式教程
  • 应用中的用户教育
  • 改进复杂界面的用户体验

主要特点

  • 背景模糊效果
  • 目标元素高亮
  • 可自定义叠加设计
  • 平滑过渡动画
  • 与现有小部件的轻松集成

适合对象

  • 移动应用入门
  • 功能发现工具
  • 用户培训模块
  • 用户体验改进举措
  • 寻求轻量级教练标记的开发者

使用建议

  • 有限的平台特定自定义
  • 无内置本地化支持
  • 需要手动处理点击事件
  • 可能会影响低端设备的性能
  • 依赖于正确的控件位置

原始 README

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

Highlighter Coach Mark

There are different ways for user on-boarding. It can be a show of screenshots or overlay with directions to features, feature discovery as in Material design or coach mark. This coach mark makes blurred background and highlights desired element.

This coach mark makes blurred background and highlights desired element.

A picture is worth a thousand words, so take a look at gif

And a few tips from UX

Presenting hints one-by-one, at the right moment, makes it a lot easier for users to understand and learn instructions.

To have their full effect, coach marks should focus on particularly innovative or unexpected elements.

Usage

Take a look at example folder. There are also 4 coach marks there. They are all presented in gif above

  CoachMark coachMark = CoachMark();
  RenderBox target = targetGlobalKey.currentContext.findRenderObject();
  Rect markRect = target.localToGlobal(Offset.zero) & target.size;
  markRect = Rect.fromCircle(center: markRect.center, radius: markRect.longestSide * 0.6);
  coachMark.show(
      targetContext: targetGlobalKey.currentContext,
      markRect: markRect,
      children: [
        Positioned(
            top: markRect.top + 5.0,
            right: 10.0,
            child: Text("Long tap on button to see options",
                style: const TextStyle(
                  fontSize: 24.0,
                  fontStyle: FontStyle.italic,
                  color: Colors.white,
                )))
      ],
      duration: null,
      onClose: () {
         appState.setCoachMarkIsShown(true);
      });
Similar packages
Thanks

所属分类

源码仓库

使用此插件的项目

暂无相关数据。