shadowDef method

DefineMAddButtonModifier shadowDef({
  1. Color? color,
})

Implementation

DefineMAddButtonModifier shadowDef({Color? color}) {
  final valueShadow = BoxShadow(
    color: color ?? Color(0xff000000).withOpacity(0.1),
    offset: const Offset(0, 2),
    blurRadius: 4,
    spreadRadius: 0,
  );
  return this.copyWith(valueShadow: valueShadow);
}