From 7c78a05793dcd8241dc8e4ec11958973a67c748e Mon Sep 17 00:00:00 2001 From: Hans Muller Date: Mon, 12 Apr 2021 16:53:24 -0700 Subject: [PATCH] Fixed typos in AppBar.toolbarHeight API doc sample (#80316) --- packages/flutter/lib/src/material/app_bar.dart | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/flutter/lib/src/material/app_bar.dart b/packages/flutter/lib/src/material/app_bar.dart index fe6c021f8b..78678e58a5 100644 --- a/packages/flutter/lib/src/material/app_bar.dart +++ b/packages/flutter/lib/src/material/app_bar.dart @@ -288,11 +288,12 @@ class AppBar extends StatefulWidget implements PreferredSizeWidget { /// MaterialApp( /// home: Scaffold( /// appBar: AppBar( - /// title: SizedBox( - /// height: toolbarHeight, - /// child: child: Image.asset(logoAsset), - /// ), - /// toolbarHeight: toolbarHeight, + /// title: SizedBox( + /// height: toolbarHeight, + /// child: Image.asset(logoAsset), + /// ), + /// toolbarHeight: toolbarHeight, + /// ), /// ), /// ) /// ```