RITLAlertStyle class

Constructors

RITLAlertStyle({Color backgroundColor = CupertinoColors.white, Color separateColor = const Color.fromRGBO(247, 247, 247, 1), BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(8)), TextStyle titleStyle = const TextStyle(fontSize: 16, fontWeight: FontWeight.w500, color: Color.fromRGBO(77, 76, 77, 1)), TextAlign titleTextAlign = TextAlign.center, TextStyle messageStyle = const TextStyle(fontSize: 14, fontWeight: FontWeight.w400, color: Color.fromRGBO(88, 89, 89, 1)), TextAlign messageTextAlign = TextAlign.center, BoxConstraints? constraints, EdgeInsets alertPadding = const EdgeInsets.fromLTRB(15, 15, 15, 0), AlignmentGeometry alertAlignment = Alignment.center})
Alert style constructor function The backgroundColor parameter sets the background color. The separateColor parameter sets the button's separate color. The borderRadius parameter sets alert's borderRadius. default is 8 The titleStyle parameter sets alert title text style. The titleTextAlign parameter sets alignment of the title. The messageStyle parameter sets alert desc text style. The messageTextAlign parameter sets alignment of the desc. The constraints parameter sets Alert size. The alertPadding parameter sets alert area padding. The alertAlignment parameter sets alert area alignment.
const

Properties

alertAlignment AlignmentGeometry
final
alertPadding EdgeInsets
容器的内部缩进
final
backgroundColor Color
背景色
final
borderRadius BorderRadius?
总体的圆角
final
constraints BoxConstraints?
final
hashCode int
The hash code for this object.
no setterinherited
messageStyle TextStyle
内容的风格
final
messageTextAlign TextAlign
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
separateColor Color
底部按钮的分割颜色
final
titleStyle TextStyle
标题的风格
final
titleTextAlign TextAlign
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited