Unverified Commit 330db46d authored by Shardul Nalegave's avatar Shardul Nalegave Committed by GitHub

Fixed Tooltip widget docs. According to issue #53072 (#65250)

parent f246a8ce
......@@ -18,12 +18,9 @@ import 'tooltip_theme.dart';
/// A material design tooltip.
///
/// Tooltips provide text labels that help explain the function of a button or
/// other user interface action. Wrap the button in a [Tooltip] widget to
/// show a label when the widget long pressed (or when the user takes some
/// other appropriate action).
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=EeEfD5fI-5Q}
/// Tooltips provide text labels which help explain the function of a button or
/// other user interface action. Wrap the button in a [Tooltip] widget and provide
/// a message which will be shown when the widget is long pressed.
///
/// Many widgets, such as [IconButton], [FloatingActionButton], and
/// [PopupMenuButton] have a `tooltip` property that, when non-null, causes the
......@@ -33,6 +30,9 @@ import 'tooltip_theme.dart';
/// representation of the widget, which, for example, can be vocalized by a
/// screen reader.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=EeEfD5fI-5Q}
///
///
/// See also:
///
/// * <https://material.io/design/components/tooltips.html>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment