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: Added support for snackbar #103

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

ishanvaghani
Copy link
Contributor

Description

Added support for snackbar
Added documentation
Created category file for Mirai Actions

Related Issues

Closes #102

Screenshots

XRecorder_20250113_01.mp4

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

# Conflicts:
#	examples/mirai_gallery/assets/json/home_screen.json

scaffoldMessenger.showSnackBar(
SnackBar(
content: Mirai.fromJson(model.content, context) ?? SizedBox(),
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you change the SizedBox to SizedBox.shrink()

@@ -0,0 +1,55 @@
# SnackBar

Mirai snakBar allows you to show the Flutter SnackBar using JSON.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you fix this typo?

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.

feat: Add support for showing snackbar
2 participants