getBox method

Widget getBox()

Implementation

Widget getBox() {
  double width = 0;
  double height = 0;
  if (iconAlignment == GTFButtonIconAlignment.left ||
      iconAlignment == GTFButtonIconAlignment.right) {
    width = iconTextMargin;
  } else {
    height = iconTextMargin;
  }
  return SizedBox(
    width: width,
    height: height,
  );
}