flutter_awesome_tooltip 1.0.2 copy "flutter_awesome_tooltip: ^1.0.2" to clipboard
flutter_awesome_tooltip: ^1.0.2 copied to clipboard

easy-to-use and lightweight flutter tooltip library

flutter_awesome_tooltip #

easy-to-use and lightweight flutter tooltip library

Features #

Tooltip library for Flutter

Getting started #

Option Type Default Description
message String `` String text tooltip.
child Widget child for icon or others child stuff
direction Enum LibraryTooltipDirection direction for tooltip
closeButtonStyle style style style for input close x
TextStyle TextStyle style style for text tooltip
Color placehoColorlder Color Color Text

Usage #

For use this just install then follow the code below

import 'package:flutter/material.dart';
import 'package:flutter_awesome_tooltip/flutter_awesome_tooltip.dart';

class MyWidget extends StatefulWidget {
  const MyWidget({super.key});

  @override
  State<MyWidget> createState() => _MyWidgetState();
}

class _MyWidgetState extends State<MyWidget> {
  @override
  Widget build(BuildContext context) {
    return Container(
      child: const FlutterAwesomeTooltip(
        message: 'This is a tooltip',
        child: Icon(Icons.info),
        direction: LibraryTooltipDirection.top,
      ),
    );
  }
}

Additional information #

More information : https://github.com/zidniryi/flutter_awesome_tooltip

0
likes
70
pub points
0%
popularity

Publisher

unverified uploader

easy-to-use and lightweight flutter tooltip library

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_awesome_tooltip