contact_form 1.0.0 contact_form: ^1.0.0 copied to clipboard
Client of contact management system
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add contact_form
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
contact_form: ^1.0.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:contact_form/generated/intl/messages_all.dart';
import 'package:contact_form/generated/intl/messages_en.dart';
import 'package:contact_form/generated/intl/messages_ja.dart';
import 'package:contact_form/generated/intl/messages_ja_JP.dart';
import 'package:contact_form/generated/l10n.dart';
import 'package:contact_form/models/application_field.dart';
import 'package:contact_form/models/application_field.freezed.dart';
import 'package:contact_form/models/application_field.g.dart';
import 'package:contact_form/models/application_field_select.dart';
import 'package:contact_form/models/application_field_select.freezed.dart';
import 'package:contact_form/models/application_field_select.g.dart';
import 'package:contact_form/models/contact_field_data.dart';
import 'package:contact_form/models/contact_field_request_data.dart';
import 'package:contact_form/models/contact_field_request_data.freezed.dart';
import 'package:contact_form/models/contact_field_request_data.g.dart';
import 'package:contact_form/models/contact_request_data.dart';
import 'package:contact_form/models/contact_request_data.freezed.dart';
import 'package:contact_form/models/contact_request_data.g.dart';
import 'package:contact_form/models/locale_text.dart';
import 'package:contact_form/models/locale_text.freezed.dart';
import 'package:contact_form/models/locale_text.g.dart';
import 'package:contact_form/network/http_client.dart';
import 'package:contact_form/use_cases/base_use_case.dart';
import 'package:contact_form/use_cases/get_application_use_case.dart';
import 'package:contact_form/use_cases/post_contact_use_case.dart';
import 'package:contact_form/widgets/contact_form.dart';
import 'package:contact_form/widgets/fields/contact_checkbox_field.dart';
import 'package:contact_form/widgets/fields/contact_date_field.dart';
import 'package:contact_form/widgets/fields/contact_date_time_field.dart';
import 'package:contact_form/widgets/fields/contact_field.dart';
import 'package:contact_form/widgets/fields/contact_field_error.dart';
import 'package:contact_form/widgets/fields/contact_radio_field.dart';
import 'package:contact_form/widgets/fields/contact_select_field.dart';
import 'package:contact_form/widgets/fields/contact_text_field.dart';
import 'package:contact_form/widgets/fields/contact_time_field.dart';
import 'package:contact_form/widgets/fields/form_label.dart';