LitGlowingButton constructor
const
LitGlowingButton({
- Key? key,
- required void onPressed(),
- Color baseColor = const Color(0xFFef93a1),
- Color accentColor = const Color(0xFFb2b2b2),
- required Widget child,
- EdgeInsets padding = const EdgeInsets.symmetric(vertical: 6.0, horizontal: 22.0),
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(16.0)),
- 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);