27 |
28 | {JSON.stringify(breakpoints, null, 2)}
29 |
30 |
31 |
32 |
33 | ## Flutter Example
34 | - Inside your component, just pass a prop styleSheet with a Map with `Breakpoints.xs` or any other valid breakpoint to apply an style to that resolution
35 |
36 | > It's mandatory fill the `xs` key with a valid value, otherwise it will not work
37 |
38 | ```dart
39 | Box(
40 | styleSheet: StyleSheet(
41 | width: {Breakpoints.xs: '550'},
42 | height: {Breakpoints.xs: '550'},
43 | backgroundColor: {Breakpoints.xs: '#ff6a00', Breakpoints.sm: '#006a00'},
44 | ),
45 | ),
46 | ```
47 |
48 | ## JavaScript Example
49 | - Inside your component, just pass a prop styleSheet with a Map with `xs` (`Breakpoints prefix is optional`) or any other valid breakpoint to apply an style to that resolution
50 |
51 | > It's mandatory fill the `xs` key with a valid value, otherwise it will not work, you can pass the value directly also as in plain HTML
52 |
53 | ```js
54 |