pub fn constant_gradient(spec: impl Into<GradientSpec>) -> GradientPropertyExpand description
A GradientProperty that resolves to spec in every state —
WidgetStateProperty.all(gradient), the shape every gradient button in
material_3_expressive’s own playground uses
(example/lib/pages/playground/do/buttons_playground.dart:151).