Skip to content

Commit 6cbd2ec

Browse files
authored
Merge pull request #6 from fmatosqg/master
Fix error on slider value > max, update flutter min version
2 parents 19ea028 + caf5602 commit 6cbd2ec

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

third_party/lib/main.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ class _MyHomePageState extends State<MyHomePage> {
8888

8989
@override
9090
Widget build(BuildContext context) {
91+
92+
if ( _dimension > MediaQuery.of(context).size.width - 10.0){
93+
_dimension = MediaQuery.of(context).size.width - 10.0;
94+
}
9195
return new Scaffold(
9296
appBar: new AppBar(
9397
title: new Text(widget.title),

third_party/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,4 +410,4 @@ packages:
410410
version: "2.1.13"
411411
sdks:
412412
dart: ">=2.0.0-dev.28.0 <=2.0.0-edge.0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0"
413-
flutter: ">=0.3.5 <2.0.0"
413+
flutter: ">=0.3.6-pre.65 <2.0.0"

third_party/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ flutter:
8181
# see https://flutter.io/custom-fonts/#from-packages
8282

8383
environment:
84-
flutter: ">=0.3.5 <2.0.0"
84+
flutter: ">=0.3.6-pre.65 <2.0.0"

0 commit comments

Comments
 (0)