ElevatedLayerButton constructor

const ElevatedLayerButton({
  1. Key? key,
  2. required double? buttonHeight,
  3. required double? buttonWidth,
  4. required Duration? animationDuration,
  5. required Curve? animationCurve,
  6. required VoidCallback? onClick,
  7. BoxDecoration? baseDecoration,
  8. BoxDecoration? topDecoration,
  9. Widget? topLayerChild,
  10. BorderRadius? borderRadius,
})

Implementation

const ElevatedLayerButton({
  Key? key,
  required this.buttonHeight,
  required this.buttonWidth,
  required this.animationDuration,
  required this.animationCurve,
  required this.onClick,
  this.baseDecoration,
  this.topDecoration,
  this.topLayerChild,
  this.borderRadius,
}) : super(key: key);