You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should allow for more customizations. A good starting point would be to try to implement some of these:
Frosted look
Outline of tooltip
Better Shadow properties (List?)
Edit
I might want to consider whether the tooltip should be the space around the tail as well and if the tail should just be gotten from a clipper. That would make things like frosted glass a lot easier to implement. I think it'd complicate gestures though. Just a guess.
The text was updated successfully, but these errors were encountered:
I'm considering making the entire tooltip just a custom clip path. This would allow users to have their tail be the same as their inner content and users would just pad their content tailTip length away from the edge:
so replace content with:
builder: (margin) {
returnMaterial(
// Tooltip tail will share this color
color:Colors.grey.shade800,
child:Container(
margin: margin,
child:constSizedBox(
width:100.0,
height:100.0,
),
),
);
},
My concern is that that looks weird. I've never seen anyone else pass through margin.
and then they are placed together via a stack? The content is offset by the offsetAndTailLength and the background is clipped by the tail clipper and borderRadius argument.
We should allow for more customizations. A good starting point would be to try to implement some of these:
Edit
I might want to consider whether the tooltip should be the space around the tail as well and if the tail should just be gotten from a clipper. That would make things like frosted glass a lot easier to implement. I think it'd complicate gestures though. Just a guess.
The text was updated successfully, but these errors were encountered: