InkwellButton constructor

InkwellButton({
  1. required String text,
  2. required void onPressed(),
  3. Color color1 = CharmColors.charple,
  4. Color color2 = CharmColors.hazy,
  5. Style textStyle = const Style(foreground: Colors.white, modifiers: Modifier.bold),
  6. int? width,
  7. int? height,
})

Creates a new InkwellButton.

Implementation

InkwellButton({
  required this.text,
  required this.onPressed,
  this.color1 = CharmColors.charple,
  this.color2 = CharmColors.hazy,
  this.textStyle = const Style(
    foreground: Colors.white,
    modifiers: Modifier.bold,
  ),
  this.width,
  this.height,
});