ToastStyle constructor
const
ToastStyle({
- Color color = Colors.black54,
- double radius = 10.0,
- Border? border,
- EdgeInsets padding = const EdgeInsets.only(top: 2.0, bottom: 2.0, left: 5.0, right: 5.0),
- TextStyle style = const TextStyle(fontSize: 15.0, color: Colors.white, decoration: TextDecoration.none),
Implementation
const ToastStyle({
this.color = Colors.black54,
this.radius = 10.0,
this.border,
this.padding = const EdgeInsets.only(
top: 2.0,
bottom: 2.0,
left: 5.0,
right: 5.0,
),
this.style = const TextStyle(
fontSize: 15.0,
color: Colors.white,
decoration: TextDecoration.none,
),
});