Git Issues Form
Flutter general widget for submitting git issues based on common template.
this widget need 3 required parameter:
- Access Token : used to authenticated with git services (gitlab / github)
- Project ID : The global ID or URL-encoded path of the project owned by the authenticated user
- baseGitUrl : to specify which provider will used as git service API (default : 'https://gitlab.com/api/v4/')
usage example:
import 'package:git_issues_form/features/feedback_feature/presentation/widgets/feedback_widget.dart';
class MyHomePage extends StatelessWidget {
const MyHomePage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('MyApp'),
),
body: FeedbackWidget(
accessToken: '[YOUR_ACCESS_TOKEN]',
projectId: '[YOUR_GIT_PROJECT_ID]',
baseGitUrl: 'https://gitlab.com/api/v4/',
),
);
}
}
Build Project
This section explain what you need to know if you want to clone and build this project on your own.
Build Generated Codes
flutter pub run build_runner build --delete-conflicting-outputs
MacOS Build
since this project combined flutter application
and module
, you need to comment out this from pubspec.yaml
:
from
module:
androidX: true
androidPackage: com.dargoz.git_issues_form
iosBundleIdentifier: com.dargoz.gitIssuesForm
to
#module:
# androidX: true
# androidPackage: com.dargoz.git_issues_form
# iosBundleIdentifier: com.dargoz.gitIssuesForm
Libraries
- app_route
- app_route.gr
- app_route_guard
- app_translation
- assignee_response
- bug_use_case
- config
- create_issue_request
- create_issue_request
- data_mapper
- documentation_use_case
- error_schema
- feature_request_use_case
- feedback_controller
- feedback_model
- feedback_page
- feedback_repository_github_impl
- feedback_repository_gitlab_impl
- feedback_widget
- github_constants
- github_http_interceptor
- github_mapper
- github_rest_api_client
- github_rest_client_config
- gitlab_constants
- gitlab_http_interceptor
- gitlab_mapper
- gitlab_rest_api_client
- gitlab_rest_client_config
- i_feedback_repository
- improvement_use_case
- injection
- injection.config
- intl_en
- intl_id
- issue
- issue_response
- issue_response
- label
- links_response
- loading_widget
- main
- no_params
- reference_response
- response_error_widget
- status
- success_widget
- task_completion_status_response
- time_stats_response
- update_config_use_case
- usecase
- user_response