[FREE] Popup View - An Extension to show your views as popup

Popup View

This extension helps you to show your layouts as popups at any position with gravity. This is a very simple and small extension that maybe useful for you. You can show the popups by giving the component and with any custom offsets.

Let see its blocks and their documentation.


All Blocks


Documentation

component_event

This event raises when the popup view is dismissed.

component_method

This block register the component as Popup View.

component_method (1)

This block show the popup view with gravity. It requires a component at where you want to show the popup.

component_method (2)

This block show the popup at given offset with gravity. You can find the offset of a component by GetX and GetY block.

component_method (3)

Returns true if the popup is being shown.

component_method (4)

Dismiss the popup view if showing.

image

Returns the X and Y offset of the given component.

image

If set to true then the popup can be dismissed by the user by touching outside otherwise popup would not be dismissed on outside touch.

image

Properties for defining the gravity.


Usage

Let see how to use the extension

Registering the Popup View

You would need to register the component first to show the popup view.

blocks


Showing with Component

blocks (1)

This will show the popup near the button component. ) gravity mean No Gravity.

image (2) (1)


Showing with Positions

blocks (1)

Showing the popup at the top gravity.

image (1)


Showing with Corner Positions

blocks


You can use bitwise block for getting the corners positions this way :point_down:

image (1)


Downloads


Donate

If you liked my work and want to donate then:


Credit

Thanks @Shreyash for the super power full Rush .

Worked very hard for this long extension so like the extension if you like it :+1:

Suggestion and issue are welcome

Thanks you
Sumit​:wink:

37 Likes

good work @Sumit1334 :+1:

1 Like

awesome extension :heart_eyes: @Sumit1334

1 Like

Nice one, very useful!

1 Like

Awesome awesome… :ok_hand::ok_hand::ok_hand::bouquet::bouquet::bouquet:

1 Like

This is something interesting!
Great extension :ok_hand:

2 Likes

Nice extension :heart_eyes:

Another Amazing Extension by Sumit!!
:fire::fire::heart:

nice extension :+1:

1 Like

Amazing extension, as always !

2 Likes

Hye sumit this is good extension but I have one Question please solve this

I have an question?
How can I make the Arrangement, which i use make bigger?
I have try so much but it still small

Hi Sumit, I have a question. Is this work in dynamic card view, I want to set New in top right in the first card view.

Easy and efficient :+1:

1 Like

Hy Sumit, Can you help me with this issue

it makes the issue in both companion and apk

And I really don’t know why.

image

I did every test possible, it is the .Dismiss method that triggers the issue.
It seems that it is impossible to check the (Not) .IsShown immediately after the .Dismiss

even after the .Dissmiss the popupmenu still remain .Shown for a few millisecondes

Thanks for the extension.

One question.

Can I use it to customize three dot menu to display a listview at top-right corner…