Closed PrimeTheFirst closed 1 month ago
@Deuque
@PrimeTheFirst What is the issue with what you have? Is it the padding?
If the padding is the issue, you can try reducing the padding around the tooltip,
return Padding(
padding: const EdgeInsets.all(15.0),
child: MTooltip(
title: '..',
description:
"...",
controller: controller),
);
@PrimeTheFirst What is the issue with what you have? Is it the padding?
No the inputs and text is not being highlighted. It should be white should it not as visible in the example? Expected:
@PrimeTheFirst Oh I see, you should add a background color to the widget, because the tooltip highlights the exact widget.
The tooltip doesn’t automatically add white colors, (imagine a scenario where someone wants a blue background)
So you need to design the exact widget you want to be highlighted. If you want a white background, just add a white background to the textfield
just add a white background to the textfield
@Deuque But I only want it to have that background color when the tooltip is on it. Not all the time
On testing it however, it is producing the expected output. Thanks!
Note: Behavior is very weird. Only the bottom bar works as expected. This is the bottom navbar
The first page
Output: