You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3561823
Browse filesBrowse the repository at this point in the historyBrowse files
Companion to flutter#193283.
Applies the same fixes to the copies of these files in `material_ui` and `cupertino_ui`.
Doc comments only, so no version bump or changelog entry.
/// To define a `const`[MaterialStateTextStyle], you'll need to extend
290
-
/// [MaterialStateTextStyle] and override its [resolve] method. You'll also need
291
-
/// to provide a `defaultValue` to the super constructor, so that we can know
292
-
/// at compile-time what its default color is.
290
+
/// [MaterialStateTextStyle] and override its [MaterialStateTextStyle.resolve]
291
+
/// method. You'll also need to provide a `defaultValue` to the super
292
+
/// constructor, so that we can know at compile-time what its default color is.
293
293
///
294
294
/// See also:
295
295
///
@@ -528,8 +528,8 @@ class _WidgetInputBorderMapper extends WidgetStateMapper<InputBorder>
528
528
const_WidgetInputBorderMapper(super.map);
529
529
}
530
530
531
-
/// Interface for classes that [resolve] to a value of type `T` based
532
-
/// on a widget's interactive "state", which is defined as a set
531
+
/// Interface for classes that [MaterialStateProperty.resolve] to a value of
532
+
/// type `T` based on a widget's interactive "state", which is defined as a set
533
533
/// of [MaterialState]s.
534
534
///
535
535
/// Learn more about [WidgetStateProperty] on the [Flutter YouTube channel](https://www.youtube.com/watch?v=CylXr3AF3uU).
@@ -539,14 +539,14 @@ class _WidgetInputBorderMapper extends WidgetStateMapper<InputBorder>
539
539
/// [WidgetState.focused], [WidgetState.hovered], [WidgetState.pressed]. For
540
540
/// example the [InkWell.overlayColor] defines the color that fills the ink well
541
541
/// when it's pressed (the "splash color"), focused, or hovered. The [InkWell]
542
-
/// uses the overlay color's [resolve] method to compute the color for the
543
-
/// ink well's current state.
542
+
/// uses the overlay color's [MaterialStateProperty.resolve] method to compute
543
+
/// the color for the ink well's current state.
544
544
///
545
545
/// [ButtonStyle], which is used to configure the appearance of
546
546
/// buttons like [TextButton], [ElevatedButton], and [OutlinedButton],
547
547
/// has many material state properties. The button widgets keep track
548
-
/// of their current material state and [resolve] the button style's
549
-
/// material state properties when their value is needed.
548
+
/// of their current material state and [MaterialStateProperty.resolve] the
549
+
/// button style's material state properties when their value is needed.
0 commit comments