-
Notifications
You must be signed in to change notification settings - Fork 104
/
Copy pathtooltip.dart
36 lines (34 loc) · 1.03 KB
/
tooltip.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import 'package:flutter/material.dart';
class MyTooltip extends StatelessWidget {
const MyTooltip({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('Tooltip')),
body: Center(
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: const [
Tooltip(
message: 'High Quality',
verticalOffset: 28,
height: 24,
child: Icon(Icons.high_quality, color: Colors.purple, size: 65),
),
Tooltip(
message: 'FullScreen',
verticalOffset: 28,
height: 24,
child: Icon(Icons.fullscreen, color: Colors.purple, size: 65),
),
Tooltip(
message: 'Filter',
verticalOffset: 28,
height: 24,
child: Icon(Icons.filter, color: Colors.purple, size: 65)),
],
),
),
);
}
}