gradient static method
Implementation
static FloretParent<DecoratedBox> gradient(Gradient gradient) =>
(Widget child) => DecoratedBox(
child: child,
decoration: BoxDecoration(
gradient: gradient,
),
);