JhToast class

Constructors

JhToast()

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

buildToastPosition(dynamic context) → dynamic
设置toast位置
showToast(BuildContext context, {required String msg, int showTime = 1000, Color bgColor = Colors.black, Color textColor = Colors.white, double textSize = 14.0, ToastPostion position = ToastPostion.bottom, double pdHorizontal = 20.0, double pdVertical = 10.0}) Future<bool>