Inheritance
System.Object
FlatButton
public class FlatButton : MaterialButton
Constructors
FlatButton(Key, VoidCallback, ValueChanged<Boolean>, Nullable<ButtonTextTheme>, Color, Color, Color, Color, Color, Color, Nullable<Brightness>, EdgeInsets, ShapeBorder, Nullable<Clip>, Nullable<MaterialTapTargetSize>, Widget)
Declaration
public FlatButton(Key key = null, VoidCallback onPressed = null, ValueChanged<bool> onHighlightChanged = null, ButtonTextTheme? textTheme = default(ButtonTextTheme? ), Color textColor = null, Color disabledTextColor = null, Color color = null, Color disabledColor = null, Color highlightColor = null, Color splashColor = null, Brightness? colorBrightness = default(Brightness? ), EdgeInsets padding = null, ShapeBorder shape = null, Clip? clipBehavior, MaterialTapTargetSize? materialTapTargetSize = default(MaterialTapTargetSize? ), Widget child = null)
Parameters
Methods
build(BuildContext)
Declaration
public override Widget build(BuildContext context)
Parameters
Returns
Overrides
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
icon(Key, VoidCallback, ValueChanged<Boolean>, Nullable<ButtonTextTheme>, Color, Color, Color, Color, Color, Color, Nullable<Brightness>, EdgeInsets, ShapeBorder, Nullable<Clip>, Nullable<MaterialTapTargetSize>, Widget, Widget)
Declaration
public static FlatButton icon(Key key = null, VoidCallback onPressed = null, ValueChanged<bool> onHighlightChanged = null, ButtonTextTheme? textTheme = default(ButtonTextTheme? ), Color textColor = null, Color disabledTextColor = null, Color color = null, Color disabledColor = null, Color highlightColor = null, Color splashColor = null, Brightness? colorBrightness = default(Brightness? ), EdgeInsets padding = null, ShapeBorder shape = null, Clip? clipBehavior = default(Clip? ), MaterialTapTargetSize? materialTapTargetSize = default(MaterialTapTargetSize? ), Widget icon = null, Widget label = null)
Parameters
Returns