Tooltip
Design System - tooltip component

// Sample code
<Tooltip
arrow={true}
className=""
content={<>And here's some amazing content It's very engaging. Right?<hr /><img alt="here is your logo" src="https://egov-dev-assets.s3.ap-south-1.amazonaws.com/digit.png"/></>}
description="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt "
header="Header"
style={{}}
/>// Sample code
DigitTooltip(
tooltipContent: Text(
'Hello, Tooltip!',
style: Theme.of(context).digitTextTheme(context).bodyS.copyWith(color: Theme.of(context).colorTheme.paper.primary),
),
trigger: TooltipTrigger.onHover,
tooltipPosition: TooltipPosition.topStart,
child: Container(
color: Colors.blue,
padding: const EdgeInsets.all(16),
child: const Text('Tap me'),
),
),Anatomy

Variants


Properties

Property Configuration Table
Property
Value
Default
Property
Value
Default
Behaviours


Usage Guide


Changelog
Date
Number
Notes
Design Checklist
Last updated
Was this helpful?