skynexui_responsive_stylesheet 1.7.1 copy "skynexui_responsive_stylesheet: ^1.7.1" to clipboard
skynexui_responsive_stylesheet: ^1.7.1 copied to clipboard

You don't need to be worried just because you have to support multiple screens

@skynexui/responsive_stylesheet #

You don't need to be worried just because you have to support multiple screens 📺 🖥 💻 📱

Downloads Current Version Flutter Package NPM Package

It's a set of common utility strategies to work with responsive styles with CSS in JS and Flutter

Summary #

Dart/Flutter 🐦 #

How to install? #

flutter pub add skynexui_responsive_stylesheet

Demo #

CleanShot 2022-07-25 at 21 56 52

body: Container(
  color: responsive.value({
    Breakpoints.xs: Colors.red.shade200,
    Breakpoints.sm: Colors.yellow.shade200,
    Breakpoints.md: Colors.green.shade200,
    Breakpoints.lg: Colors.blue.shade200,
    Breakpoints.xl: Colors.purple.shade200,
  }),
)

Learn more looking at the code example

JavaScript/React ⚛ #

How to install? #

yarn add @skynexui/responsive_stylesheet

Demo #

Docs #

What are the default values for the breakpoints? #

  • xs: 0 From 0 screen width until 479
  • sm: 480 From 480 screen width until 767
  • md: 768 From 768 screen width until 991
  • lg: 992 From 992 screen width until 1199
  • xl: 1200 From 1200 and beyond

All values from here came from other libraries and responsive Front End frameworks.

Can I customize the breakpoints? #

Today, no. But it's in the have a way to do this but the names xs...xl will remain part of the library to make easier to use the abstractions.

6
likes
0
pub points
47%
popularity

Publisher

unverified uploader

You don't need to be worried just because you have to support multiple screens

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, mockito

More

Packages that depend on skynexui_responsive_stylesheet