Skip to content

Commit

Permalink
Simplify example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
n-bernat committed Oct 6, 2024
1 parent fa123b0 commit 00f448c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ Replace `LinearGradient` with a `SmoothGradient` and optionally provide a curve.
return DecoratedBox(
decoration: BoxDecoration(
gradient: SmoothGradient(
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
from: Colors.black,
to: Colors.white,
// Defaults to `Curves.easeInOut`.
Expand Down

0 comments on commit 00f448c

Please sign in to comment.