Skip to content

Commit c8f6a74

Browse files
committed
v1.1.0 Release
- Breaking Change - Condition is no longer constant to support inheriting type nullability. - Simplify example.
1 parent 3324581 commit c8f6a74

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.1.0
4+
- Breaking Change - Responsive Value Condition is no longer constant to support inheriting type nullability.
5+
- Simplify example.
6+
37
## 1.0.0
48
- New ResponsiveBreakpoints widget.
59
- Deprecated ResponsiveWrapper widget.

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,14 @@ ResponsiveBreakpoints.of(context).isPhone;
7272
ResponsiveBreakpoints.of(context).equals(DESKTOP)
7373
ResponsiveBreakpoints.of(context).largerThan(MOBILE)
7474
ResponsiveBreakpoints.of(context).smallerThan(TABLET)
75+
ResponsiveBreakpoints.of(context).between(MOBILE, TABLET)
7576
...
7677
```
7778

7879
### Customization
7980
You can define your own breakpoint labels and use them in your conditionals.
8081

81-
For example, if we're building a Material 3 Navigation Rail and want to expand the menu to full width once there is enough room, we can add a custom `EXPAND_SIDE_PANEL` breakpoint.
82+
For example, if you're building a Material 3 Navigation Rail and want to expand the menu to full width once there is enough room, you can add a custom `EXPAND_SIDE_PANEL` breakpoint.
8283

8384
```dart
8485
breakpoints: [
@@ -90,14 +91,16 @@ breakpoints: [
9091
]
9192
```
9293

93-
Then, in our code, set the value based on the breakpoint condition.
94+
Then, in your code, set the value based on the breakpoint condition.
9495

9596
> expand: ResponsiveBreakpoints.of(context).largerThan('EXPAND_SIDE_PANEL')
9697

9798
### Responsive Framework Widgets
98-
The ResponsiveFramework includes a few custom widgets that supplement Flutter's responsive capabilities. They are showcased in the demo projects.
99+
The ResponsiveFramework includes a few custom widgets that supplement Flutter's responsive capabilities. Their usages are showcased in the demo projects.
99100

100101
- *[ResponsiveValue](https://github.com/Codelessly/ResponsiveFramework/blob/master/lib/responsive_value.dart)*
102+
- *[ResponsiveVisibility](https://github.com/Codelessly/ResponsiveFramework/blob/master/lib/responsive_value.dart)*
103+
- *[ResponsiveConstraints](https://github.com/Codelessly/ResponsiveFramework/blob/master/lib/responsive_value.dart)*
101104
- *[ResponsiveRowColumn](https://github.com/Codelessly/ResponsiveFramework/blob/master/lib/responsive_row_column.dart)*
102105
- *[ResponsiveGridView](https://github.com/Codelessly/ResponsiveFramework/blob/master/lib/responsive_grid.dart)*
103106
- *[ResponsiveScaledBox](https://github.com/Codelessly/ResponsiveFramework/blob/master/lib/responsive_scaled_box.dart)*

pubspec.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: responsive_framework
22
description: Easily make Flutter apps responsive. Automatically adapt UI to different screen sizes. Responsiveness made simple.
3-
version: 1.0.0
3+
version: 1.1.0
44
homepage: https://codelessly.com
55
repository: https://github.com/Codelessly/ResponsiveFramework
66
issue_tracker: https://github.com/Codelessly/ResponsiveFramework/issues
77
documentation: https://github.com/Codelessly/ResponsiveFramework
88

99
environment:
10-
sdk: '>=2.17.0 <3.0.0'
11-
flutter: '>=3.0.0'
10+
sdk: '>=3.0.0 <4.0.0'
11+
flutter: '>=3.7.0'
1212

1313
dependencies:
1414
flutter:

0 commit comments

Comments
 (0)