Added smaple code for Flat Button

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

View File

@ -45,17 +45,17 @@ import 'theme_data.dart';
///
/// ```dart
/// FlatButton(
/// onPressed: () {
/// _doSomething();
/// },
/// child: Text(
/// "Flat Button",
/// style: TextStyle(
/// color: Colors.white,
/// fontSize: 20.0
/// ),
/// ),
/// )
/// onPressed: () {
/// _doSomething();
/// },
/// child: Text(
/// "Flat Button",
/// style: TextStyle(
/// color: Colors.white,
/// fontSize: 20.0
/// ),
/// ),
/// )
/// ```
/// {@end-tool}
/// See also: