Commit 1a571b5c authored by postmasters's avatar postmasters Committed by Ian Hickson

OverlayState.add* should have been OverlayState.insert* (#9773)

Trivial doc typo.
parent f101ad4e
......@@ -215,8 +215,8 @@ class Overlay extends StatefulWidget {
/// To add entries to an [Overlay] that is already in the tree, use
/// [Overlay.of] to obtain the [OverlayState] (or assign a [GlobalKey] to the
/// [Overlay] widget and obtain the [OverlayState] via
/// [GlobalKey.currentState]), and then use [OverlayState.add] or
/// [OverlayState.addAll].
/// [GlobalKey.currentState]), and then use [OverlayState.insert] or
/// [OverlayState.insertAll].
///
/// To remove an entry from an [Overlay], use [OverlayEntry.remove].
final List<OverlayEntry> initialEntries;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment