Skip to content

Commit 18c57db

Browse files
committed
Simplify Example #2
1 parent 44df951 commit 18c57db

File tree

3 files changed

+3
-29
lines changed

3 files changed

+3
-29
lines changed

README.md

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ breakpoints: [
9191
]
9292
```
9393

94-
Then, in your code, set the value based on the breakpoint condition.
94+
Then, in your code, show the Rail based on the breakpoint condition.
9595

9696
> expand: ResponsiveBreakpoints.of(context).largerThan('EXPAND_SIDE_PANEL')
9797

@@ -110,32 +110,7 @@ The ResponsiveFramework includes a few custom widgets that supplement Flutter's
110110
## Legacy ReadMe (v0.2.0 and below)
111111

112112
### ResponsiveWrapper Migration
113-
The legacy ResponsiveWrapper combined multiple features into one widget. This made it difficult to use at times when custom behavior was required. The updated V1 implementation separates each feature into its own widget.
114-
115-
Responsive Framework v1 introduces some new widgets as well:
116-
117-
- ResponsiveScaledBox
118-
- MaxWidthBox
119-
- ConditionalRouteWidget
120-
121-
#### ResponsiveScaledBox
122-
> ResponsiveScaledBox(width: width, child: child);
123-
124-
Replaces the core AutoScale functionality of ResponsiveWrapper. ResponsiveScaledBox renders the `child` widget with the specified `width`.
125-
126-
This widget wraps the Flutter `FittedBox` widget with a `LayoutBuilder` and `MediaQuery`.
127-
128-
**Why should you use a `ResponsiveScaledBox`?**
129-
130-
Use a `ResponsiveScaledBox` instead of a `FittedBox` if the layout is full screen as the widget helps calculate correctly scaled `MediaQueryData`.
131-
132-
#### MaxWidthBox
133-
> MaxWidthBox(maxWidth: maxWidth, background: background, child: child);
134-
135-
Limit the `child` widget to the `maxWidth` and paints an optional `background` behind the widget.
136-
137-
This widget is helpful for limiting the content width on large desktop displays and creating gutters on the left and right side of the page.
138-
113+
[v1.0.0 Migration Guide](https://github.com/Codelessly/ResponsiveFramework/blob/master/migration_0.2.0_to_1.0.0.md)
139114

140115
### The remainder of the legacy ReadMe is preserved below as the concepts are still useful and used by the new widgets. ResponsiveWrapper has been deprecated and removed.
141116

pubspec.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ description: Easily make Flutter apps responsive. Automatically adapt UI to diff
33
version: 1.1.0
44
homepage: https://codelessly.com
55
repository: https://github.com/Codelessly/ResponsiveFramework
6-
issue_tracker: https://github.com/Codelessly/ResponsiveFramework/issues
76
documentation: https://github.com/Codelessly/ResponsiveFramework
87

98
environment:

0 commit comments

Comments
 (0)