AspectRatioButton constructor

const AspectRatioButton({
  1. Key? key,
  2. double? aspectRatio,
  3. bool isSelected = false,
})

Creates an AspectRatioButton with the specified aspect ratio.

Implementation

const AspectRatioButton(
    {super.key, this.aspectRatio, this.isSelected = false});