IconDecoration constructor
const
IconDecoration({
- IconBorder? border,
- Gradient? gradient,
Used to specify a decoration to apply to an Icon widget.
The icon has a border and may cast shadows.
The border paints over the icon; the boxShadow
, naturally, paints
below it.
Implementation
const IconDecoration({
this.border,
this.gradient,
});