build method
Playgroung builder
Implementation
@override
Widget build(BuildContext context) => DecoratedBox(
decoration: BoxDecoration(
gradient: gradient ??
LinearGradient(
begin: Alignment.topLeft,
end: Alignment.bottomRight,
colors: colors!,
),
),
);