Skip to content

Commit

Permalink
Merge pull request #1 from sethladd/patch-1
Browse files Browse the repository at this point in the history
small readme code tweak
  • Loading branch information
pulyaevskiy authored Feb 23, 2018
2 parents 0aa5bcc + 55a1a57 commit 8e30273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ class MyWidget extends StatefulWidget {
}
class MyWidgetState extends State<MyWidget> {
final ScrollController _controller = new ScrollController();
final _controller = new ScrollController();
@override
Widget build(BuildContext context) {
return new ListView(
controller: _controller,
children: <Widget>[
children: [
new ParallaxImage(
image: new AssetImage('images/january.jpg'),
// Extent of this widget in scroll direction.
Expand Down

0 comments on commit 8e30273

Please sign in to comment.