Fixed typos in AppBar.toolbarHeight API doc sample (#80316)

This commit is contained in:
Hans Muller
2021-04-12 16:53:24 -07:00
committed by GitHub
parent 7d5f39281d
commit 7c78a05793

View File

@@ -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,
/// ),
/// ),
/// )
/// ```