mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Update flat_button.dart
This commit is contained in:
parent
adc4234bc7
commit
c8f00dff39
@ -44,18 +44,18 @@ import 'theme_data.dart';
|
|||||||
/// This example to use [FlatButton] in your flutter code
|
/// This example to use [FlatButton] in your flutter code
|
||||||
///
|
///
|
||||||
/// ```dart
|
/// ```dart
|
||||||
/// FlatButton(
|
///FlatButton(
|
||||||
/// onPressed: () {
|
/// onPressed: () {
|
||||||
/// _doSomething();
|
/// _doSomething();
|
||||||
/// },
|
/// },
|
||||||
/// child: Text(
|
/// child: Text(
|
||||||
/// "Flat Button",
|
/// "Flat Button",
|
||||||
/// style: TextStyle(
|
/// style: TextStyle(
|
||||||
/// color: Colors.white,
|
/// color: Colors.white,
|
||||||
/// fontSize: 20.0
|
/// fontSize: 20.0
|
||||||
/// ),
|
/// ),
|
||||||
/// ),
|
/// ),
|
||||||
/// )
|
/// )
|
||||||
/// ```
|
/// ```
|
||||||
/// {@end-tool}
|
/// {@end-tool}
|
||||||
/// See also:
|
/// See also:
|
||||||
|
Loading…
Reference in New Issue
Block a user