generateButton method

Widget generateButton()

Implementation

Widget generateButton() {
  FlutlyTheme flutlyTheme = Get.find();

  apperiances ??= FlutlyButtonApperiances(
      backgroundColor: flutlyTheme.getColor("buttonColor"),
      borderRadius: 0,
      expanded: false,
      width: 100,
      height: 40,
      textFC: "small textColor normal");

  return Container(
    width: apperiances!.width,
    height: apperiances!.height,
    decoration: BoxDecoration(
      color: apperiances!.backgroundColor,
      borderRadius:
          BorderRadius.all(Radius.circular(apperiances!.borderRadius!)),
    ),
    child: Center(
      child: FlutlyText(text!, font: apperiances!.textFC!),
    ),
  );
}