Giter VIP home page Giter VIP logo

overlay_tooltip's Issues

Overlay vertical positon off if app has bottom navigation bar

Great work on this widget!

I'm trying to get it to work with my app, but my app implements the bottomNavigationBar of Scaffold, and I think this is causing the vertical positions of the overlays to be off. Everything is positioned correctly when I removed the bottomNavigationBar.

What can I do to compensate for the height of the bottomNavigationBar? Thanks.

image

How to use multiple TooltipControllers in one screen?

Can we add more than one TooltipController in one screen? So we can add multiple tooltip section.
For example:

  • Button A will trigger Tooltip 1 with 3 OverlayTooltipItem inside.
  • Button B will trigger Tooltip 2 with another 2 OverlayTooltipItem inside.

[Feature] Provide onTap callback to overlay

I have a requirement where i do not have next buttons, I want to be able to move to the next item on click of the overlay. It would be great if the overlay accepts an onTap callback so that I can call controller.next()

preferredOverlay parameter isn't defined in OverlayTooltipScaffold

from pub.dev v0.2.2

  OverlayTooltipScaffold({
    Key? key,
    required this.controller,
    required this.builder,
    this.overlayColor = Colors.black54,
    this.startWhen,
    this.tooltipAnimationDuration = const Duration(milliseconds: 500),
    this.tooltipAnimationCurve = Curves.decelerate,
  }) : super(
            key: key,
            controller: controller,
            builder: builder,
            overlayColor: overlayColor,
            startWhen: startWhen,
            tooltipAnimationDuration: tooltipAnimationDuration,
            tooltipAnimationCurve: tooltipAnimationCurve);

from repo v0.2.2

OverlayTooltipScaffold({
    Key? key,
    required this.controller,
    required this.builder,
    this.overlayColor = Colors.black54,
    this.startWhen,
    this.tooltipAnimationDuration = const Duration(milliseconds: 500),
    this.tooltipAnimationCurve = Curves.decelerate,
    this.preferredOverlay,
  }) : super(
          key: key,
          controller: controller,
          builder: builder,
          overlayColor: overlayColor,
          startWhen: startWhen,
          tooltipAnimationDuration: tooltipAnimationDuration,
          tooltipAnimationCurve: tooltipAnimationCurve,
          preferredOverlay: preferredOverlay,
        );

[Feature] Dismiss callback

Hi, thanks for plugin, it works good.
I have a feature request about dismiss callback to detect when user wants to disable tooltips, dismiss method is already there, i just need callback to handle this event.
Could you do that?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.