extensionGeneralLibFlutterBoxDecoration method

BoxDecoration extensionGeneralLibFlutterBoxDecoration({
  1. required bool isUseBorderAll,
  2. required bool isUseBoxShadow,
})

Implementation

BoxDecoration extensionGeneralLibFlutterBoxDecoration({
  required bool isUseBorderAll,
  required bool isUseBoxShadow,
}) {
  return BoxDecoration(
    border: isUseBorderAll ? extensionGeneralLibFlutterBorderAll() : null,
    boxShadow: isUseBoxShadow ? extensionGeneralLibFlutterBoxShadows() : null,
  );
}