mirror of
https://github.com/Iconica-Development/flutter_input_library.git
synced 2025-05-18 17:03:45 +02:00
feat: add style to FlutterFormInputMultiLine
This commit is contained in:
parent
bc8b1d572b
commit
b6de3299e0
3 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
|||
## 3.6.0
|
||||
* Added style parameter to `FlutterFormInputMultiLine`
|
||||
|
||||
## 3.5.0
|
||||
* Added `selectableTimePredicate` to the `DateTimeInputField` constructor
|
||||
|
||||
|
|
|
@ -96,6 +96,7 @@ class FlutterFormInputMultiLine extends StatelessWidget {
|
|||
this.validator,
|
||||
this.onFieldSubmitted,
|
||||
this.textCapitalization = TextCapitalization.sentences,
|
||||
this.style,
|
||||
});
|
||||
|
||||
final Widget? label;
|
||||
|
@ -113,12 +114,14 @@ class FlutterFormInputMultiLine extends StatelessWidget {
|
|||
final Function(String?)? onChanged;
|
||||
final Function(String?)? onFieldSubmitted;
|
||||
final TextCapitalization textCapitalization;
|
||||
final TextStyle? style;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => Column(
|
||||
children: [
|
||||
Expanded(
|
||||
child: FlutterFormInputPlainText(
|
||||
style: style,
|
||||
label: label,
|
||||
textAlignVertical: TextAlignVertical.top,
|
||||
expands: true,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: flutter_input_library
|
||||
description: A new Flutter package project.
|
||||
version: 3.5.0
|
||||
version: 3.6.0
|
||||
repository: https://github.com/Iconica-Development/flutter_input_library
|
||||
|
||||
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||
|
|
Loading…
Reference in a new issue