mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
parent
a086c640dc
commit
743fcf7fcc
@ -323,7 +323,7 @@ class DrawerButtonIcon extends StatelessWidget {
|
||||
/// A [DrawerButton] is an [IconButton] with a "drawer" icon. When pressed, the
|
||||
/// close button calls [ScaffoldState.openDrawer] to the [Scaffold.drawer].
|
||||
///
|
||||
/// The default behaviour on press can be overriden with [onPressed].
|
||||
/// The default behaviour on press can be overridden with [onPressed].
|
||||
///
|
||||
/// See also:
|
||||
///
|
||||
@ -388,7 +388,7 @@ class EndDrawerButtonIcon extends StatelessWidget {
|
||||
/// A [EndDrawerButton] is an [IconButton] with a "drawer" icon. When pressed, the
|
||||
/// end drawer button calls [ScaffoldState.openEndDrawer] to open the [Scaffold.endDrawer].
|
||||
///
|
||||
/// The default behaviour on press can be overriden with [onPressed].
|
||||
/// The default behaviour on press can be overridden with [onPressed].
|
||||
///
|
||||
/// See also:
|
||||
///
|
||||
|
@ -4763,7 +4763,7 @@ abstract class Element extends DiagnosticableTree implements BuildContext {
|
||||
/// cheaper. (Additionally, if _any_ subclass of [Widget] used in an
|
||||
/// application implements `operator ==`, then the compiler cannot inline the
|
||||
/// comparison anywhere, because it has to treat the call as virtual just in
|
||||
/// case the instance happens to be one that has an overriden operator.)
|
||||
/// case the instance happens to be one that has an overridden operator.)
|
||||
///
|
||||
/// Instead, the best way to avoid unnecessary rebuilds is to cache the
|
||||
/// widgets that are returned from [State.build], so that each frame the same
|
||||
|
@ -12997,7 +12997,7 @@ testWidgets('Floating cursor ending with selection', (WidgetTester tester) async
|
||||
await sendUndo(tester);
|
||||
expect(controller.value, composingStep2);
|
||||
|
||||
// Waiting for the throttling beetween undos should have no effect.
|
||||
// Waiting for the throttling between undos should have no effect.
|
||||
await tester.pump(const Duration(milliseconds: 500));
|
||||
|
||||
// Undo second insertion.
|
||||
|
Loading…
Reference in New Issue
Block a user