PlatformButton constructor

PlatformButton(
  1. {Key key,
  2. Key widgetKey,
  3. Widget child,
  4. VoidCallback onPressed,
  5. Color color,
  6. Color disabledColor,
  7. EdgeInsetsGeometry padding,
  8. PlatformBuilder<MaterialRaisedButtonData> material,
  9. PlatformBuilder<MaterialFlatButtonData> materialFlat,
  10. PlatformBuilder<CupertinoButtonData> cupertino,
  11. PlatformBuilder<CupertinoFilledButtonData> cupertinoFilled}
)

Implementation

PlatformButton({
  Key key,
  this.widgetKey,
  this.child,
  this.onPressed,
  this.color,
  this.disabledColor,
  this.padding,
  this.material,
  this.materialFlat,
  this.cupertino,
  this.cupertinoFilled,
}) : super(key: key);