diff --git a/packages/flutter/lib/src/material/drawer.dart b/packages/flutter/lib/src/material/drawer.dart index 1165963632..1e1c5c26fb 100644 --- a/packages/flutter/lib/src/material/drawer.dart +++ b/packages/flutter/lib/src/material/drawer.dart @@ -215,7 +215,7 @@ typedef DrawerCallback = void Function(bool isOpened); /// Rarely used directly. Drawer controllers are typically created automatically /// by [Scaffold] widgets. /// -/// The draw controller provides the ability to open and close a drawer, either +/// The drawer controller provides the ability to open and close a drawer, either /// via an animation or via user interaction. When closed, the drawer collapses /// to a translucent gesture detector that can be used to listen for edge /// swipes. @@ -601,6 +601,7 @@ class DrawerControllerState extends State with SingleTickerPro ); } } + @override Widget build(BuildContext context) { assert(debugCheckHasMaterialLocalizations(context));