From e4602ca6632b39f4bf0b1a9f9813658b457dc559 Mon Sep 17 00:00:00 2001 From: Sourav-Sonkar Date: Sat, 17 Aug 2024 17:00:08 +0530 Subject: [PATCH] minor changes --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8d7b58e..b747c5e 100644 --- a/README.md +++ b/README.md @@ -124,14 +124,17 @@ SuperTooltip( //... ) ``` + + +## DecorationBuilder -For passing custom shape for popup or pass custom decoration,you can use the `decorationBuilder` which will give you access target property +To customize the shape of the popup or apply your own decoration, you can utilize the `decorationBuilder` property. This allows you to access the `target` property and define a custom shape or decoration for the tooltip. ```dart SuperTooltip( decorationBuilder:(target){ return ShapeDecoration( - //... + //... shape: CustomShape( //... target: target, @@ -142,7 +145,6 @@ SuperTooltip( ) ``` - ## Barrier