DialogStyle constructor

const DialogStyle({
  1. ShapeBorder shape = const RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(4))),
  2. Color backgroundColor = Colors.white,
  3. TextStyle titleTextStyle = const TextStyle(fontWeight: FontWeight.w600, color: Color(0xff181818), fontSize: 14),
  4. TextStyle contentTextStyle = const TextStyle(fontWeight: FontWeight.normal, color: Color(0xff767676), fontSize: 14),
  5. ButtonStyle buttonStyle = const ButtonStyle(),
  6. Decoration headerContainerDecoration = const BoxDecoration(color: AppColor.primaryColor, borderRadius: BorderRadius.only(topRight: Radius.circular(4), topLeft: Radius.circular(4))),
  7. Color iconColor = Colors.white,
})

Implementation

const DialogStyle(
    {this.shape = const RoundedRectangleBorder(
        borderRadius: BorderRadius.all(Radius.circular(4))),
    this.backgroundColor = Colors.white,
    this.titleTextStyle = const TextStyle(
        fontWeight: FontWeight.w600, color: Color(0xff181818), fontSize: 14),
    this.contentTextStyle = const TextStyle(
        fontWeight: FontWeight.normal,
        color: Color(0xff767676),
        fontSize: 14),
    this.buttonStyle = const ButtonStyle(),
    this.headerContainerDecoration = const BoxDecoration(
        color: AppColor.primaryColor,
        borderRadius: BorderRadius.only(
            topRight: Radius.circular(4), topLeft: Radius.circular(4))),
    this.iconColor = Colors.white});