diff --git a/packages/flutter/lib/src/material/button.dart b/packages/flutter/lib/src/material/button.dart index 105e3707c3..d63bf74946 100644 --- a/packages/flutter/lib/src/material/button.dart +++ b/packages/flutter/lib/src/material/button.dart @@ -127,9 +127,9 @@ class RawMaterialButton extends StatefulWidget { /// * [MaterialState.hovered]. /// * [MaterialState.focused]. /// * [MaterialState.disabled]. + /// {@endtemplate} /// /// If this property is null, [MaterialStateMouseCursor.clickable] will be used. - /// {@endtemplate} final MouseCursor? mouseCursor; /// Defines the default text style, with [Material.textStyle], for the diff --git a/packages/flutter/lib/src/material/floating_action_button.dart b/packages/flutter/lib/src/material/floating_action_button.dart index 75c6fd3e22..f5bf9725f2 100644 --- a/packages/flutter/lib/src/material/floating_action_button.dart +++ b/packages/flutter/lib/src/material/floating_action_button.dart @@ -330,6 +330,8 @@ class FloatingActionButton extends StatelessWidget { final VoidCallback? onPressed; /// {@macro flutter.material.RawMaterialButton.mouseCursor} + /// + /// If this property is null, [MaterialStateMouseCursor.clickable] will be used. final MouseCursor? mouseCursor; /// The z-coordinate at which to place this button relative to its parent. diff --git a/packages/flutter/lib/src/material/material_button.dart b/packages/flutter/lib/src/material/material_button.dart index 1e855bd22c..ae1d76d9e8 100644 --- a/packages/flutter/lib/src/material/material_button.dart +++ b/packages/flutter/lib/src/material/material_button.dart @@ -131,6 +131,8 @@ class MaterialButton extends StatelessWidget { final ValueChanged? onHighlightChanged; /// {@macro flutter.material.RawMaterialButton.mouseCursor} + /// + /// If this property is null, [MaterialStateMouseCursor.clickable] will be used. final MouseCursor? mouseCursor; /// Defines the button's base colors, and the defaults for the button's minimum diff --git a/packages/flutter/lib/src/material/toggle_buttons.dart b/packages/flutter/lib/src/material/toggle_buttons.dart index f4c23dcf63..ed6c81b0d4 100644 --- a/packages/flutter/lib/src/material/toggle_buttons.dart +++ b/packages/flutter/lib/src/material/toggle_buttons.dart @@ -230,6 +230,8 @@ class ToggleButtons extends StatelessWidget { final void Function(int index)? onPressed; /// {@macro flutter.material.RawMaterialButton.mouseCursor} + /// + /// If this property is null, [MaterialStateMouseCursor.clickable] will be used. final MouseCursor? mouseCursor; /// Configures the minimum size of the area within which the buttons may @@ -843,6 +845,8 @@ class _ToggleButton extends StatelessWidget { final VoidCallback? onPressed; /// {@macro flutter.material.RawMaterialButton.mouseCursor} + /// + /// If this property is null, [MaterialStateMouseCursor.clickable] will be used. final MouseCursor? mouseCursor; /// The width and color of the button's leading side border.