TooltipTheme constructor Null safety
- {Key? key,
- required TooltipThemeData data,
- required Widget child}
Creates a tooltip theme that controls the configurations for Tooltip.
The data argument must not be null.
Implementation
const TooltipTheme({
super.key,
required this.data,
required super.child,
}) : assert(data != null);