just_the_tooltip 0.0.2 copy "just_the_tooltip: ^0.0.2" to clipboard
just_the_tooltip: ^0.0.2 copied to clipboard

outdated

The components for tooltips to be used in custom implementions.

just_the_tooltip #

A package that is just the tooltip.

Getting Started #

install it

    just_the_tooltip: <latest_version>

Tooltip can be set to prefer any axis but will try to fit in opposite axis if the space is not big enough. This tooltip sizes itself to fit the size of its child.

JustTheTooltip(
  child: Material(
    color: Colors.grey.shade800,
    shape: const CircleBorder(),
    elevation: 4.0,
    child: const Padding(
      padding: EdgeInsets.all(8.0),
      child: Icon(
        Icons.add,
        color: Colors.white,
      ),
    ),
  ),
  content: const Padding(
    padding: EdgeInsets.all(8.0),
    child: Text(
      'Bacon ipsum dolor amet kevin turducken brisket pastrami, salami ribeye spare ribs tri-tip sirloin shoulder venison shank burgdoggen chicken pork belly. Short loin filet mignon shoulder rump beef ribs meatball kevin.',
    ),
  ),
)

The child will be wrapped with a gesture detecor that is responsible for showing the content.

The tooltip should also work in lists.

301
likes
0
pub points
99%
popularity

Publisher

unverified uploader

The components for tooltips to be used in custom implementions.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on just_the_tooltip