defaultMessageDecoration function Default widgets

BoxDecoration defaultMessageDecoration({
  1. required Color color,
  2. required double borderTopLeft,
  3. required double borderTopRight,
  4. required double borderBottomLeft,
  5. required double borderBottomRight,
})

Implementation

BoxDecoration defaultMessageDecoration({
  required Color color,
  required double borderTopLeft,
  required double borderTopRight,
  required double borderBottomLeft,
  required double borderBottomRight,
}) =>
    BoxDecoration(
      color: color,
      borderRadius: BorderRadius.only(
        topLeft: Radius.circular(borderTopLeft),
        topRight: Radius.circular(borderTopRight),
        bottomLeft: Radius.circular(borderBottomLeft),
        bottomRight: Radius.circular(borderBottomRight),
      ),
    );