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
|
||||
///
|
||||
/// ```dart
|
||||
/// FlatButton(
|
||||
/// onPressed: () {
|
||||
/// _doSomething();
|
||||
/// },
|
||||
/// child: Text(
|
||||
/// "Flat Button",
|
||||
/// style: TextStyle(
|
||||
/// color: Colors.white,
|
||||
/// fontSize: 20.0
|
||||
/// ),
|
||||
/// ),
|
||||
/// )
|
||||
///FlatButton(
|
||||
/// onPressed: () {
|
||||
/// _doSomething();
|
||||
/// },
|
||||
/// child: Text(
|
||||
/// "Flat Button",
|
||||
/// style: TextStyle(
|
||||
/// color: Colors.white,
|
||||
/// fontSize: 20.0
|
||||
/// ),
|
||||
/// ),
|
||||
/// )
|
||||
/// ```
|
||||
/// {@end-tool}
|
||||
/// See also:
|
||||
|
Loading…
Reference in New Issue
Block a user