diff --git a/examples/flutter_gallery/lib/demo/contacts_demo.dart b/examples/flutter_gallery/lib/demo/contacts_demo.dart index 9068c7b58f..2b9167af5b 100644 --- a/examples/flutter_gallery/lib/demo/contacts_demo.dart +++ b/examples/flutter_gallery/lib/demo/contacts_demo.dart @@ -93,7 +93,7 @@ class ContactsDemoState extends State { static final GlobalKey _scaffoldKey = new GlobalKey(); final double _appBarHeight = 256.0; - AppBarBehavior _appBarBehavior; + AppBarBehavior _appBarBehavior = AppBarBehavior.pinned; @override Widget build(BuildContext context) {