We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add shadows to theme so they are easily reusable and all the shadows are the same in the app. Something like:
class FlutterTemplateShadows { late final List<BoxShadow> cardShadow; FlutterTemplateShadows({required Color shadow}) { cardShadow = [ BoxShadow( color: shadow, offset: const Offset(1, 1), blurRadius: 2, ), BoxShadow( color: shadow, offset: const Offset(3, 3), blurRadius: 4, ), ]; } }
And then in your theme:
FlutterTemplateTheme._( ... shadows: SPShadows(shadow: colorTheme.shadow), );
The text was updated successfully, but these errors were encountered:
jorre127
No branches or pull requests
Add shadows to theme so they are easily reusable and all the shadows are the same in the app. Something like:
And then in your theme:
The text was updated successfully, but these errors were encountered: