frostedGlassContainer static method
Widget
frostedGlassContainer({
- Widget? child,
- double width = double.infinity,
- double height = double.infinity,
- bool dropShadow = true,
- bool dropInnerShadow = false,
- EdgeInsets padding = paddingStepOne,
- EdgeInsets margin = paddingStepOne,
- bool renderAccent = false,
- Alignment? accentAligment,
- double accentIntensity = 0,
Implementation
static Widget frostedGlassContainer(
{Widget? child,
double width = double.infinity,
double height = double.infinity,
bool dropShadow = true,
bool dropInnerShadow = false,
EdgeInsets padding = paddingStepOne,
EdgeInsets margin = paddingStepOne,
bool renderAccent = false,
Alignment? accentAligment,
double accentIntensity = 0}) =>
NeumorphicFrostedGlassContainer(
margin: margin,
padding: padding,
accentAligment: renderAccent ? accentAligment : null,
accentColor: renderAccent ? AppColors.accentColor : null,
accentIntensity: renderAccent ? accentIntensity : 0,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(borderRadius)),
child: child,
);