From ff7538f7b5976dea6fa435acefef3e79fe61575b Mon Sep 17 00:00:00 2001 From: Todd Volkert Date: Fri, 12 Jun 2020 12:35:08 -0700 Subject: [PATCH] Add support for horizontal and vertical double-arrow system cursors (#59342) --- packages/flutter/lib/src/rendering/mouse_cursor.dart | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/flutter/lib/src/rendering/mouse_cursor.dart b/packages/flutter/lib/src/rendering/mouse_cursor.dart index eafd5973ce..bbde2641f4 100644 --- a/packages/flutter/lib/src/rendering/mouse_cursor.dart +++ b/packages/flutter/lib/src/rendering/mouse_cursor.dart @@ -445,4 +445,16 @@ class SystemMouseCursors { /// /// Typically the shape of a closed hand. static const SystemMouseCursor grabbing = SystemMouseCursor._(kind: 'grabbing'); + + /// A cursor in the shape of a horizontal double-arrow. + /// + /// This cursor is typically used when moving or resizing an object, and the + /// object can be moved left or right. + static const SystemMouseCursor horizontalDoubleArrow = SystemMouseCursor._(kind: 'horizontalDoubleArrow'); + + /// A cursor in the shape of a vertical double-arrow. + /// + /// This cursor is typically used when moving or resizing an object, and the + /// object can be moved up or down. + static const SystemMouseCursor verticalDoubleArrow = SystemMouseCursor._(kind: 'verticalDoubleArrow'); }