LitGlowingButton constructor

const LitGlowingButton({
  1. Key? key,
  2. required void onPressed(),
  3. Color baseColor = const Color(0xFFef93a1),
  4. Color accentColor = const Color(0xFFb2b2b2),
  5. required Widget child,
  6. EdgeInsets padding = const EdgeInsets.symmetric(vertical: 6.0, horizontal: 22.0),
  7. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(16.0)),
  8. Offset offset = const Offset(2, 2),
})

Implementation

const LitGlowingButton({
  Key? key,
  required this.onPressed,
  this.baseColor = const Color(0xFFef93a1),
  this.accentColor = const Color(0xFFb2b2b2),
  required this.child,
  this.padding = const EdgeInsets.symmetric(
    vertical: 6.0,
    horizontal: 22.0,
  ),
  this.borderRadius = const BorderRadius.all(Radius.circular(16.0)),
  this.offset = const Offset(2, 2),
}) : super(key: key);