Skip to content
New issue

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

feat: Add support for Opacity widget #100

Merged

Conversation

vinothvino42
Copy link
Contributor

Description

Introduced Mirai Opacity widget and added an example to the Mirai gallery app

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Code refactor
  • Build configuration change
  • Documentation
  • Chore

Copy link
Member

@divyanshub024 divyanshub024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for amazing work @vinothvino42!! 💯
Please check my suggestion.

MiraiOpacity.fromJson(json);

@override
String get type => WidgetType.opacity.name;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vinothvino42 Can we please move the type method to be first, before the getModel method?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Can you review it again?

@divyanshub024 divyanshub024 changed the title Add support for Opacity widget feat: Add support for Opacity widget Jan 12, 2025
@divyanshub024 divyanshub024 added this to the v0.9 milestone Jan 12, 2025
Copy link
Member

@divyanshub024 divyanshub024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for such such an amazing work @vinothvino42 🙌🏻

@divyanshub024 divyanshub024 merged commit fa369dc into BuildMirai:dev Jan 12, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants