widget property

Widget get widget

Implementation

Widget get widget {
  return ElevatedButton(
      onPressed: onPressed,
      style: ButtonStyle(
          backgroundColor: backgroundColor,
          shape: MaterialStateProperty.all<RoundedRectangleBorder>(
              RoundedRectangleBorder(
            borderRadius: BorderRadius.circular(18.0),
          ))),
      child: textItem(text,
          color: color, fontSize: fontSize, fontWeight: fontWeight));
}