-
Notifications
You must be signed in to change notification settings - Fork 39
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
Conversation
There was a problem hiding this 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.
.vscode/launch.json
Outdated
@@ -0,0 +1,25 @@ | |||
{ |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the correction 🙏🏻
website/docs/widgets/slider.md
Outdated
| 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. | | ||
|
||
|
There was a problem hiding this comment.
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?
Resolved all the comments |
website/docs/widgets/slider.md
Outdated
| 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. | | ||
|
||
|
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done removed one line
There was a problem hiding this 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 💯
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