BlurryContainer.square constructor
const
BlurryContainer.square({
- Key? key,
- required Widget child,
- double? dimension,
- double blur = 5,
- double elevation = 0,
- EdgeInsetsGeometry padding = const EdgeInsets.all(8),
- Color color = Colors.transparent,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(20)),
Implementation
const BlurryContainer.square({
Key? key,
required this.child,
double? dimension,
this.blur = 5,
this.elevation = 0,
this.padding = const EdgeInsets.all(8),
this.color = Colors.transparent,
this.borderRadius = const BorderRadius.all(Radius.circular(20)),
}) : width = dimension,
height = dimension,
super(key: key);