contact_form 1.0.5 contact_form: ^1.0.5 copied to clipboard
Client of contact management system. Providing contact form widget. The widget can be customized and interlocked by the management service.
contact_form #
contact_form is a client for the Contact Nite contact management service.
Installation #
dependencies:
flutter_contact: ^1.0.5
Getting Started #
Show contact form.
child: const ContactForm(
applicationKey: 'your application form key',
),
For more information, see the document at contact-nite.com
Configuration #
child: ContactForm(
applicationKey: 'your application form key',
loading: const CircularProgressIndicator(),
metadata: {
'Add': 'metadata',
'as': 'you like',
'max': '65,535byte',
},
onSubmittionStarted: () {
// Called when submit button is touched.
},
onCompleted: () {
// Called when posting contact data is completed.
},
onInitializationError: () {
// Called when initialization error occured.
// (For example wrong key specified)
},
onSubmittionError: () {
// Called when contact submittion error occured.
},
),
Localization #
return MaterialApp(
localizationsDelegates: const [
L10n.delegate, // Your application's first
S.delegate, // contact_form's second
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
],
How to change design? #
Customize your app's theme. If you need more options, create issue.