We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56444a1 commit 7ee4fa2Copy full SHA for 7ee4fa2
example/with_flutter_sample/pubspec.lock
@@ -227,7 +227,7 @@ packages:
227
path: "../../package"
228
relative: true
229
source: path
230
- version: "2.1.3"
+ version: "2.3.0"
231
sky_engine:
232
dependency: transitive
233
description: flutter
package/lib/responsive/screen_width.dart
@@ -1,12 +1,12 @@
1
class ScreenWidth {
2
- final double widthValue;
3
- const ScreenWidth(this.widthValue);
+ final double _widthValue;
+ const ScreenWidth(this._widthValue);
4
5
double get value {
6
- return widthValue;
+ return _widthValue;
7
}
8
9
double percent(double percent) {
10
- return widthValue * (percent / 100);
+ return _widthValue * (percent / 100);
11
12
0 commit comments