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 slider widget #97

Merged
merged 3 commits into from
Jan 10, 2025

Conversation

ishanvaghani
Copy link
Contributor

@ishanvaghani ishanvaghani commented Jan 9, 2025

Description

Added support for slider widget.
Added VS Code launch modes file.
Resolved mistakes in documentation.

Screenshots

XRecorder_09012025_211216.mp4

Related Issues

Issue not listed

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.

Once again thanks for an amazing PR, @ishanvaghani 🎉. Please check my suggestions.

@@ -0,0 +1,25 @@
{
Copy link
Member

Choose a reason for hiding this comment

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

Can we please remove the launch.json file? For mirai I wish to keep the configuration file locally.

MiraiSlider getModel(Map<String, dynamic> json) => MiraiSlider.fromJson(json);

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

Choose a reason for hiding this comment

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

Can we please move the type method to come first, before the getModal method?

@@ -1,7 +1,7 @@
# CircularProgressIndicator

Mirai circularProgressIndicator allows you to build the Flutter CircularProgressIndicator widget using JSON.
To know more about the container widget in Flutter, refer to the [official documentation](https://api.flutter.dev/flutter/material/CircularProgressIndicator-class.html).
To know more about the CircularProgressIndicator widget in Flutter, refer to the [official documentation](https://api.flutter.dev/flutter/material/CircularProgressIndicator-class.html).
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the correction 🙏🏻

| autofocus | `bool` | True if this widget will be selected as the initial focus when no other node in its scope is currently focused. |
| allowedInteraction | `SliderInteraction` | Allowed way for the user to interact with the slider. |


Copy link
Member

Choose a reason for hiding this comment

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

Can you please remove the extra line?

@ishanvaghani
Copy link
Contributor Author

Resolved all the comments

| autofocus | `bool` | True if this widget will be selected as the initial focus when no other node in its scope is currently focused. |
| allowedInteraction | `SliderInteraction` | Allowed way for the user to interact with the slider. |


Copy link
Member

Choose a reason for hiding this comment

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

@ishanvaghani Can you check this one? I can still see 2 empty lines at line no. 29 & 30.

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 removed one line

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.

Thank you for amazing work @ishanvaghani 💯

@divyanshub024 divyanshub024 merged commit b1aeabd into StacDev:dev Jan 10, 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