diff --git a/docs/ff-concepts/layout/responsive-layout.md b/docs/ff-concepts/layout/responsive-layout.md index d9f99ee0..4189caf8 100644 --- a/docs/ff-concepts/layout/responsive-layout.md +++ b/docs/ff-concepts/layout/responsive-layout.md @@ -196,4 +196,58 @@ To implement this, we can go to its widget properties and toggle the device icon And now you have a more responsive screen for this shopping app use case that looks good in both mobile and desktop formats. -With these adjustments, your shopping app now boasts a highly responsive screen that seamlessly adapts to both mobile and desktop formats. This ensures an optimal user experience across all devices, maintaining both functionality and aesthetic appeal. \ No newline at end of file +With these adjustments, your shopping app now boasts a highly responsive screen that seamlessly adapts to both mobile and desktop formats. This ensures an optimal user experience across all devices, maintaining both functionality and aesthetic appeal. + +## Responsive Value + +**Responsive Values** allow you to define different property values, such as widths, heights, font sizes, or padding, for different device sizes (mobile, tablet, desktop, and wide). At runtime, your app evaluates the screen width and automatically applies the appropriate value based on your configurations. + +:::info[possible use cases] + +- **Adaptive Layouts**: Automatically adjust element sizes to deliver a consistent UI across devices. +- **Better Readability**: Increase font size on larger screens to improve legibility. +- **Improved Spacing**: Use different padding or margins on tablets and desktops to optimize content flow. + +::: + +To set a responsive value, select a widget and choose a property that supports responsiveness. Click **Set from Variable > Responsive Value**, then enter different values for each screen size: + +- Mobile (below `Breakpoint Small`) +- Tablet (below `Breakpoint Medium`) +- Desktop (below `Breakpoint Large`) +- Wide (above `Breakpoint Large`) + +As you preview on different devices, the property will automatically adjust based on the selected screen size. + +:::tip[Customizing Breakpoints] + +You can adjust the default screen size breakpoints (mobile, tablet, desktop, wide) in FlutterFlow’s Theme Settings. See how to [**Customize Breakpoints**](#customize-responsive-breakpoints). + +::: + + +