mirror of
https://github.com/Iconica-Development/flutter_media_picker.git
synced 2025-05-19 00:43:45 +02:00
Merge pull request #27 from Iconica-Development/hotfix/validation_message
fix: add missing validation message
This commit is contained in:
commit
60221a3273
5 changed files with 14 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
## 0.6.5
|
||||||
|
|
||||||
|
- Added validationMessage where it was missing
|
||||||
|
|
||||||
## 0.6.4
|
## 0.6.4
|
||||||
|
|
||||||
- Loosened the dependency on intl to be more compatible with several Flutter versions
|
- Loosened the dependency on intl to be more compatible with several Flutter versions
|
||||||
|
|
|
@ -140,9 +140,11 @@ class _MediaCheckPageState extends State<MediaCheckPage> {
|
||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: FlutterFormInputMultiLine(
|
child: FlutterFormInputMultiLine(
|
||||||
hint: 'Add description...',
|
hint: 'Add description...',
|
||||||
maxCharacters: 300,
|
maxCharacters: 300,
|
||||||
controller: descriptionController),
|
controller: descriptionController,
|
||||||
|
validationMessage: 'Field is mandatory',
|
||||||
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 12,
|
height: 12,
|
||||||
|
@ -156,6 +158,7 @@ class _MediaCheckPageState extends State<MediaCheckPage> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
controller: timelineSwitchController,
|
controller: timelineSwitchController,
|
||||||
|
validationMessage: 'Field is mandatory',
|
||||||
),
|
),
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 15,
|
height: 15,
|
||||||
|
@ -169,6 +172,7 @@ class _MediaCheckPageState extends State<MediaCheckPage> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
controller: vaultSwitchController,
|
controller: vaultSwitchController,
|
||||||
|
validationMessage: 'Field is mandatory',
|
||||||
),
|
),
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 60,
|
height: 60,
|
||||||
|
|
|
@ -147,7 +147,7 @@ packages:
|
||||||
path: ".."
|
path: ".."
|
||||||
relative: true
|
relative: true
|
||||||
source: path
|
source: path
|
||||||
version: "0.6.3"
|
version: "0.6.4"
|
||||||
flutter_plugin_android_lifecycle:
|
flutter_plugin_android_lifecycle:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -65,6 +65,7 @@ class _DisplayTextState extends State<DisplayText> {
|
||||||
return FlutterFormInputPlainText(
|
return FlutterFormInputPlainText(
|
||||||
label: const Text('Title'),
|
label: const Text('Title'),
|
||||||
controller: _controller,
|
controller: _controller,
|
||||||
|
validationMessage: 'Field is mandatory',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: flutter_media_picker
|
name: flutter_media_picker
|
||||||
description: A new Flutter package project.
|
description: A new Flutter package project.
|
||||||
version: 0.6.4
|
version: 0.6.5
|
||||||
homepage: https://github.com/Iconica-Development/flutter_media_picker
|
homepage: https://github.com/Iconica-Development/flutter_media_picker
|
||||||
publish_to: "none"
|
publish_to: "none"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue