styleTextButton method

ButtonStyle styleTextButton({
  1. Color? color,
  2. Color? textColor,
})
inherited

Implementation

ButtonStyle styleTextButton({
  Color? color,
  Color? textColor
}) {
  return TextButton.styleFrom(
    backgroundColor: color,
    foregroundColor: textColor
  );
}