HeartShapeWidget constructor

const HeartShapeWidget({
  1. Key? key,
  2. double size = 100,
  3. Color color = Colors.grey,
  4. String text = '',
  5. TextStyle? textStyle,
  6. EdgeInsetsGeometry padding = EdgeInsets.zero,
  7. Alignment alignment = Alignment.center,
})

Implementation

const HeartShapeWidget({
  Key? key,
  this.size = 100,
  this.color = Colors.grey,
  this.text = '',
  this.textStyle,
  this.padding = EdgeInsets.zero,
  this.alignment = Alignment.center,
}) : super(key: key);