mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-18 14:23:42 +00:00
feat: new ui (#1455)
This commit is contained in:
742 files changed
+59951
-5934
No files matched your search
@@ -0,0 +1,18 @@
|
||||
import 'package:flutter/material.dart' show Tooltip;
|
||||
import 'package:flutter/widgets.dart';
|
||||
|
||||
/// The single product tooltip primitive.
|
||||
///
|
||||
/// Flutter's tooltip is used intentionally because the shadcn tooltip does not
|
||||
/// currently inherit Gopeed's mixed Shadcn/Material theme consistently.
|
||||
class AppTooltip extends StatelessWidget {
|
||||
const AppTooltip({super.key, required this.message, required this.child});
|
||||
|
||||
final String message;
|
||||
final Widget child;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Tooltip(message: message, child: child);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user