ButtonTextWidget constructor

const ButtonTextWidget(
  1. Widget child,
  2. VoidCallback? onPressed,
  3. Color colorLeft,
  4. Color color,
  5. Color bgColor, {
  6. Key? key,
  7. EdgeInsetsGeometry? margin,
  8. EdgeInsetsGeometry? padding,
  9. BorderSide? side,
  10. bool width = true,
  11. List<BoxShadow>? shadows,
})

Implementation

const ButtonTextWidget(
    this.child, this.onPressed, this.colorLeft, this.color, this.bgColor,
    {Key? key,
    this.margin,
    this.padding,
    this.side,
    this.width = true,
    this.shadows})
    : super(key: key);