Update flat_button.dart

This commit is contained in:
Shivam Bhasin 2019-02-11 02:53:20 +05:30 committed by GitHub
parent adc4234bc7
commit c8f00dff39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: