docs: adjust the flutter.material.RawMaterialButton.mouseCursor template (#88470)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user