ποΈ ToastParams()
Useful to parameterize toast messages
ποΈ ToastParams():setOpacity()
You can set the transparency level of the toast using this method (0.0 to 1.0)
ποΈ ToastParams():getOpacity()
Will return the current opacity level
ποΈ ToastParams():setDuration()
You can set how long the toast is visible in milliseconds
ποΈ ToastParams():getDuration()
Will return the duration of the toast
ποΈ ToastParams():setPosition()
You can set the position of the toast on the screen using x and y coordinates
ποΈ ToastParams():getPosition()
Will return the current position of the toast as a Point object
ποΈ ToastParams():setTextColor()
You can set the text color of the toast (e.g., "#FF0000" or "#AARRGGBB")
ποΈ ToastParams():getTextColor()
Will return the current text color string
ποΈ ToastParams():setPadding()
You can set custom padding for the toast content
ποΈ ToastParams():getPadding()
Will return the current padding as an array of numbers [left, top, right, bottom]
ποΈ ToastParams():setRadius()
You can set the corner radius of the toast background
ποΈ ToastParams():getRadius()
Will return the current corner radius