deleteTextStyle property

TextStyle get deleteTextStyle

获取删除按钮文本样式 固定使用红色 (0xFFFA5151) 并保持 0.9 透明度 统一使用 18 号字体并加粗(不受主题模式影响)

Implementation

static TextStyle get deleteTextStyle => QuickDialog.instance.style == QuickDialogStyle.light
    ? TextStyle(fontSize: 18, color: const Color(0xFFFA5151).withValues(alpha: 0.9), fontWeight: FontWeight.bold)
    : TextStyle(fontSize: 18, color: const Color(0xFFFA5151).withValues(alpha: 0.9), fontWeight: FontWeight.bold);