Skip to content

Commit

Permalink
feat: Add basic lerp function for image transitioning.
Browse files Browse the repository at this point in the history
  • Loading branch information
coire1 committed May 29, 2024
1 parent 40880ac commit 24210e2
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@ class BrandAssets extends ThemeExtension<BrandAssets> {
) {
if (other is! BrandAssets) {
return this;
} else if (t >= 0.5) {
return other;
} else {
return this;
}

return BrandAssets(
logo: logo,
logoIcon: logoIcon,
);
}
}

Expand Down

0 comments on commit 24210e2

Please sign in to comment.