AspectRatioBox.square constructor
AspectRatioBox.square({})
Creates a square aspect-ratio box.
Implementation
AspectRatioBox.square({
Object? child,
List<Object?> children = const [],
Object? width,
Object? overflow,
String? className,
Map<String, Object?> props = const {},
Map<String, Object?> style = const {},
DartStyle? dartStyle,
}) : this(
ratio: '1 / 1',
child: child,
children: children,
width: width,
overflow: overflow,
className: className,
props: props,
style: style,
dartStyle: dartStyle,
);