Fixed an ElevatedButton API doc typo (#63396)
This commit is contained in:
@@ -129,7 +129,7 @@ class ElevatedButton extends ButtonStyleButton {
|
||||
///
|
||||
/// ```dart
|
||||
/// ElevatedButton(
|
||||
/// style: TextButton.styleFrom(primary: Colors.green),
|
||||
/// style: ElevatedButton.styleFrom(primary: Colors.green),
|
||||
/// )
|
||||
/// ```
|
||||
static ButtonStyle styleFrom({
|
||||
|
||||
Reference in New Issue
Block a user