multiline text overflow fix

This commit is contained in:
2025-07-03 14:54:30 +02:00
parent 25ee295394
commit af44aa3149
2 changed files with 7 additions and 1 deletions

View File

@@ -361,6 +361,10 @@ class _PackageToolOneState extends State<PackageToolOne> {
multiLineInput: true,
requiredText: false,
hintText: "Enter Multi Line Text",
validator: (value) {
return MihValidationServices()
.validateLength(_textFieldFourController.text, 50);
},
),
const SizedBox(height: 20),
Align(

View File

@@ -87,10 +87,12 @@ class _MihTextFormFieldState extends State<MihTextFormField> {
@override
Widget build(BuildContext context) {
final isMultiline = widget.multiLineInput == true;
return Center(
child: SizedBox(
width: widget.width,
height: widget.height,
// height: widget.height,
height: isMultiline ? null : widget.height,
child: Theme(
data: Theme.of(context).copyWith(
textSelectionTheme: TextSelectionThemeData(