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
|
||||
|
||||
- Loosened the dependency on intl to be more compatible with several Flutter versions
|
||||
|
|
|
@ -140,9 +140,11 @@ class _MediaCheckPageState extends State<MediaCheckPage> {
|
|||
),
|
||||
Expanded(
|
||||
child: FlutterFormInputMultiLine(
|
||||
hint: 'Add description...',
|
||||
maxCharacters: 300,
|
||||
controller: descriptionController),
|
||||
hint: 'Add description...',
|
||||
maxCharacters: 300,
|
||||
controller: descriptionController,
|
||||
validationMessage: 'Field is mandatory',
|
||||
),
|
||||
),
|
||||
const SizedBox(
|
||||
height: 12,
|
||||
|
@ -156,6 +158,7 @@ class _MediaCheckPageState extends State<MediaCheckPage> {
|
|||
),
|
||||
),
|
||||
controller: timelineSwitchController,
|
||||
validationMessage: 'Field is mandatory',
|
||||
),
|
||||
const SizedBox(
|
||||
height: 15,
|
||||
|
@ -169,6 +172,7 @@ class _MediaCheckPageState extends State<MediaCheckPage> {
|
|||
),
|
||||
),
|
||||
controller: vaultSwitchController,
|
||||
validationMessage: 'Field is mandatory',
|
||||
),
|
||||
const SizedBox(
|
||||
height: 60,
|
||||
|
|
|
@ -147,7 +147,7 @@ packages:
|
|||
path: ".."
|
||||
relative: true
|
||||
source: path
|
||||
version: "0.6.3"
|
||||
version: "0.6.4"
|
||||
flutter_plugin_android_lifecycle:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
@ -65,6 +65,7 @@ class _DisplayTextState extends State<DisplayText> {
|
|||
return FlutterFormInputPlainText(
|
||||
label: const Text('Title'),
|
||||
controller: _controller,
|
||||
validationMessage: 'Field is mandatory',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: flutter_media_picker
|
||||
description: A new Flutter package project.
|
||||
version: 0.6.4
|
||||
version: 0.6.5
|
||||
homepage: https://github.com/Iconica-Development/flutter_media_picker
|
||||
publish_to: "none"
|
||||
|
||||
|
|
Loading…
Reference in a new issue