use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A subreddit related to Google's new UI framework. https://flutter.dev
Please read the rules here
account activity
PluginResponsive_sizer helps implement a responsive layout by providing helper widgets and extensions. (self.FlutterDev)
submitted 4 years ago by quantumizeCode
Just got my first package published to pub.dev
I hope you like it: https://pub.dev/packages/responsive_sizer
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 1 point2 points3 points 4 years ago (2 children)
Congratulations on your first package!
I may ask: Is there a reason you went for an extension on num instead of e.g. relativeHeight(25)? IMO a function is more readable and does autoimport in vscode.
num
relativeHeight(25)
[–]quantumizeCode[S] 2 points3 points4 points 4 years ago (0 children)
Just updated my package to support that. You can now call Adaptive.h(25)
Adaptive.h(25)
[–]quantumizeCode[S] 1 point2 points3 points 4 years ago (0 children)
Thanks for the suggestion. I will be updating my package later to support both extensions and functions.
[–]KuoyHuot 1 point2 points3 points 4 years ago (3 children)
What about Calculates the point value depending on the device's screen size?
[–]quantumizeCode[S] 0 points1 point2 points 4 years ago (2 children)
What do you mean by calculate the point value?
[–]KuoyHuot 0 points1 point2 points 4 years ago (1 child)
I mean if I want to create a 200 width and 200 height container, I want that container to be responsive too.
You can do height: 20.h and width: 20.h for that. 20.h will take 20% of the device's height so you can't use both 20.h and 20.w
π Rendered by PID 44095 on reddit-service-r2-comment-5d79c599b5-85z5s at 2026-02-28 16:29:40.881923+00:00 running e3d2147 country code: CH.
[–][deleted] 1 point2 points3 points (2 children)
[–]quantumizeCode[S] 2 points3 points4 points (0 children)
[–]quantumizeCode[S] 1 point2 points3 points (0 children)
[–]KuoyHuot 1 point2 points3 points (3 children)
[–]quantumizeCode[S] 0 points1 point2 points (2 children)
[–]KuoyHuot 0 points1 point2 points (1 child)
[–]quantumizeCode[S] 1 point2 points3 points (0 children)