padding property
EdgeInsets
get
padding
Implementation
EdgeInsets get padding {
switch (gravity) {
case BrnToastGravity.bottom:
return EdgeInsets.only(bottom: verticalOffset);
case BrnToastGravity.top:
return EdgeInsets.only(top: verticalOffset);
case BrnToastGravity.center:
default:
return EdgeInsets.only(top: verticalOffset);
}
}