DialogPanel class
1.初始化dialog:YYDialog.init(context);
2.show dialog:DialogPanel.showxxx
;
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
showDialogPanel(
BuildContext context, {dynamic gravity, dynamic container, dynamic borderRadius = const BorderRadius.all(Radius.circular(4)), dynamic margin = const EdgeInsets.all(0), dynamic barrierDismissible = true, double dx = 0, double dy = 0, OnDialogDismissCall? dismissCall, bool isKeyboardAvoiding = false, Color backgroundColor = Colors.white, Color barrierColor = const Color(0x4d000000)}) → YYDialog -
显示底部弹出panel view
gravity
dialog panel出现的位置(默认从底部弹出) -
showMessageDialog(
BuildContext context, {dynamic gravity, dynamic container, dynamic borderRadius = const BorderRadius.only(topLeft: Radius.circular(4), topRight: Radius.circular(4)), dynamic barrierDismissible = true, double dx = 0, double dy = 0, dynamic margin = const EdgeInsets.all(0), OnDialogDismissCall? dismissCall, bool isKeyboardAvoiding = false, Color backgroundColor = Colors.white, Color barrierColor = const Color(0x4d000000)}) → YYDialog - 消息框(出现在屏幕中间)