CornerButton constructor

const CornerButton({
  1. Key? key,
  2. String? heroTag,
  3. bool isExpanded = false,
  4. bool isVisible = true,
  5. Function? onPressed,
  6. Widget? expandedContent,
  7. Widget? collapsedContent,
})

Implementation

const CornerButton({
  Key? key,
  this.heroTag,
  this.isExpanded = false,
  this.isVisible = true,
  this.onPressed,
  this.expandedContent,
  this.collapsedContent,
}) : super(key: key);