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