Skip to content

Commit 53f6eed

Browse files
committed
Fix find renderObject is null
1 parent 20f03f7 commit 53f6eed

File tree

10 files changed

+215
-1070
lines changed

10 files changed

+215
-1070
lines changed

.idea/libraries/Dart_Packages.xml

Lines changed: 7 additions & 287 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/Dart_SDK.xml

Lines changed: 19 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 146 additions & 266 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11

2+
## [1.1.5] - [2019/03/10]
3+
4+
* Fix findRenderObject is null
5+
6+
27
## [1.1.4] - [2018/10/18]
38

49
## [1.1.2] - [2018/10/10]
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>BuildSystemType</key>
6+
<string>Original</string>
7+
</dict>
8+
</plist>

example/lib/main.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ class ExampleHorizontal extends StatelessWidget {
117117
fit: BoxFit.fill,
118118
);
119119
},
120+
120121
indicatorLayout: PageIndicatorLayout.COLOR,
121122
autoplay: true,
122123
itemCount: images.length,

example/lib/src/ExampleSwiperInScrollView.dart

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ class _ExampleState extends State<ExampleSwiperInScrollView>
127127
new SizedBox(
128128
height: 100.0,
129129
child: Swiper(
130+
scale:0.8,
131+
fade:0.8,
130132
itemBuilder: (c, i) {
131133
return Container(
132134
color: Colors.grey,
@@ -140,6 +142,8 @@ class _ExampleState extends State<ExampleSwiperInScrollView>
140142
new SizedBox(
141143
height: 100.0,
142144
child: Swiper(
145+
scale:0.8,
146+
fade:0.8,
143147
itemBuilder: (c, i) {
144148
return Container(
145149
color: Colors.grey,
@@ -153,6 +157,8 @@ class _ExampleState extends State<ExampleSwiperInScrollView>
153157
new SizedBox(
154158
height: 100.0,
155159
child: Swiper(
160+
scale:0.8,
161+
fade:0.8,
156162
itemBuilder: (c, i) {
157163
return Container(
158164
color: Colors.grey,
@@ -167,6 +173,8 @@ class _ExampleState extends State<ExampleSwiperInScrollView>
167173
height: 100.0,
168174
child: Swiper(
169175
outer: true,
176+
scale:0.8,
177+
fade:0.8,
170178
itemBuilder: (c, i) {
171179
return new Container(
172180
color: Colors.grey,
@@ -191,6 +199,8 @@ class _ExampleState extends State<ExampleSwiperInScrollView>
191199
height: 100.0,
192200
child: new Swiper(
193201
outer: true,
202+
scale:0.8,
203+
fade:0.8,
194204
itemBuilder: (c, i) {
195205
return new Card(
196206
elevation: 2.0,
@@ -244,6 +254,9 @@ class _ExampleState extends State<ExampleSwiperInScrollView>
244254
height: 100.0,
245255
child: new Swiper(
246256
outer: true,
257+
fade:0.8,
258+
viewportFraction: 0.8,
259+
scale: 0.8,
247260
itemBuilder: (c, i) {
248261
return Container(
249262
color: Colors.grey,

0 commit comments

Comments
 (0)