CircularGradientButton constructor

const CircularGradientButton(
  1. {required Widget child,
  2. required VoidCallback callback,
  3. Key? key,
  4. Gradient gradient = Gradients.hotLinear,
  5. Color shadowColor = Colors.black45,
  6. double increaseHeightBy = 56.0,
  7. double increaseWidthBy = 0.0,
  8. double elevation = 5.0,
  9. MaterialTapTargetSize? materialTapTargetSize,
  10. Object? heroTag,
  11. String? tooltip}
)

Implementation

const CircularGradientButton(
    {required this.child,
    required this.callback,
    Key? key,
    this.gradient = Gradients.hotLinear,
    this.shadowColor = Colors.black45,
    this.increaseHeightBy = 56.0,
    this.increaseWidthBy = 0.0,
    this.elevation = 5.0,
    this.materialTapTargetSize,
    this.heroTag,
    this.tooltip})
    : super(
          key: key,
          callback: callback,
          child: child,
          shadowColor: shadowColor,
          gradient: gradient,
          elevation: elevation,
          increaseHeightBy: increaseHeightBy,
          increaseWidthBy: increaseWidthBy,
          heroTag: heroTag,
          tooltip: tooltip,
          materialTapTargetSize: materialTapTargetSize,
          shape: const CircleBorder(),
//            shape: RoundedRectangleBorder(),
          constraints: const BoxConstraints.tightFor(
            width: 56.0,
            height: 56.0,
          ));