Unverified Commit 94319c7a authored by Hans Muller's avatar Hans Muller Committed by GitHub

Fixed an ElevatedButton API doc typo (#63396)

parent 578b8429
...@@ -129,7 +129,7 @@ class ElevatedButton extends ButtonStyleButton { ...@@ -129,7 +129,7 @@ class ElevatedButton extends ButtonStyleButton {
/// ///
/// ```dart /// ```dart
/// ElevatedButton( /// ElevatedButton(
/// style: TextButton.styleFrom(primary: Colors.green), /// style: ElevatedButton.styleFrom(primary: Colors.green),
/// ) /// )
/// ``` /// ```
static ButtonStyle styleFrom({ static ButtonStyle styleFrom({
......
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