-
Notifications
You must be signed in to change notification settings - Fork 435
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:env variables support #597
base: main
Are you sure you want to change the base?
Conversation
@ashitaprasad does this approach have any issue |
@@ -0,0 +1,136 @@ | |||
import 'package:flutter/material.dart'; |
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.
Why are you duplicating the widget and not modifying the EnvironmentTriggerField code?
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.
@ashitaprasad trigger field was small as itself and didnt had multiple line support but i felt like changing the existing field code can make it less readable .
import 'package:apidash_core/apidash_core.dart'; | ||
import 'package:apidash_design_system/apidash_design_system.dart'; | ||
import 'package:flutter/material.dart'; | ||
import 'package:flutter_riverpod/flutter_riverpod.dart'; | ||
import 'package:apidash/providers/providers.dart'; | ||
import 'package:apidash/widgets/widgets.dart'; | ||
import 'package:apidash/consts.dart'; | ||
import '../../../../common_widgets/envfield_editor.dart'; |
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.
imports are not clean
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.
@ashitaprasad my bad would resolve it
@ashitaprasad I have removed the duplicated widget upon your suggestion |
PR Description
Trying to use enviornment variables in JSON and Text
Related Issues
Checklist
main
branch before making this PRflutter upgrade
and verify)flutter test
) and all tests are passingAdded/updated tests?
We encourage you to add relevant test cases.
OS on which you have developed and tested the feature?