Unverified Commit 4b82d47b authored by J-P Nurmi's avatar J-P Nurmi Committed by GitHub

docs: adjust the flutter.material.RawMaterialButton.mouseCursor template (#88470)

parent 38dbfa2c
......@@ -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
......
......@@ -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.
......
......@@ -131,6 +131,8 @@ class MaterialButton extends StatelessWidget {
final ValueChanged<bool>? 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
......
......@@ -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.
......
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