This commit is contained in:
Ian Hickson 2020-08-18 16:51:06 -07:00 committed by GitHub
parent d1eff0b413
commit 2122fe1fa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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<DrawerController> with SingleTickerPro
);
}
}
@override
Widget build(BuildContext context) {
assert(debugCheckHasMaterialLocalizations(context));