RITLAlert class Null safety

青岛地铁iOS风格下最简易的alertController样式

Constructors

RITLAlert({required BuildContext context, String? id, required String title, RITLAlertStyle style = const RITLAlertStyle(), TextStyle titleStyle = const TextStyle(), String? message = "", TextStyle messageStyle = const TextStyle(), List<RITLAlertAction>? buttons, bool onWillPopActive = false, bool useRootNavigator = true})
ARITLAlertlert constructor

Properties

buttons List<RITLAlertAction>?
下方的按钮
final
context BuildContext
final
hashCode int
The hash code for this object.
read-onlyinherited
id String?
标记的id
final
message String?
中间的描述
final
messageStyle TextStyle
final
onWillPopActive bool
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
style RITLAlertStyle
final
title String
顶部的标题
final
titleStyle TextStyle
final
useRootNavigator bool
final

Methods

dismiss() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
show() Future<bool?>
toString() String
A string representation of this object.
inherited

Operators

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