responsive_builder icon indicating copy to clipboard operation
responsive_builder copied to clipboard

More refined sizing for Mobile Devices

Open FilledStacks opened this issue 5 years ago • 5 comments

Currently we have only Desktop, Tablet, Mobile and Watch. As we know there are many different sizes in even the mobile devices. I suggest we add a Large, Medium and Small sizing within the mobile devices as an additional builder function to supply.

FilledStacks avatar Nov 06 '19 04:11 FilledStacks

@FilledStacks did you add this feature? Is there any doc about it?

ghost avatar Mar 16 '20 00:03 ghost

@eherediadev it's not. I probably closed the wrong issue. Still need that to be implemented.

FilledStacks avatar Mar 16 '20 06:03 FilledStacks

The master branch actually has the refined size functionality in here. there are some unit tests failing. But I think that's only due to the sizing not mapping nicely.

Currently we never get the small size which is fine. For this issue to be completed we should have a guide that shows which screenType will be returned for which sizes (using our default sizes, or sizes supplied to the builder). We should also do the same for the new refinedSize enums and builders that we've created. once that's done we can push the new version out and close this issue.

FilledStacks avatar Nov 29 '20 15:11 FilledStacks

How can you define sm md lg screens on mobile? There are a lot of phones with different resolutions out there.

hajajmaor avatar Jul 13 '21 12:07 hajajmaor

I think that was merged in @hajajmaor You can see how to use it by looking at the code here

FilledStacks avatar Jul 14 '21 16:07 FilledStacks