enable on text Input fields
This commit is contained in:
parent
98e1c85759
commit
bea2a6df3d
1 changed files with 6 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter/services.dart';
|
import 'package:flutter/services.dart';
|
||||||
import 'package:mzansi_innovation_hub/main.dart';
|
import 'package:mzansi_innovation_hub/main.dart';
|
||||||
|
|
@ -152,6 +153,11 @@ class _MihTextFormFieldState extends State<MihTextFormField> {
|
||||||
controller: widget.controller,
|
controller: widget.controller,
|
||||||
cursorColor: widget.inputColor,
|
cursorColor: widget.inputColor,
|
||||||
autofillHints: widget.autofillHints,
|
autofillHints: widget.autofillHints,
|
||||||
|
spellCheckConfiguration: (kIsWeb ||
|
||||||
|
widget.passwordMode == true ||
|
||||||
|
widget.numberMode == true)
|
||||||
|
? null
|
||||||
|
: SpellCheckConfiguration(),
|
||||||
textAlign:
|
textAlign:
|
||||||
widget.textIputAlignment ?? TextAlign.start,
|
widget.textIputAlignment ?? TextAlign.start,
|
||||||
textAlignVertical: widget.multiLineInput == true
|
textAlignVertical: widget.multiLineInput == true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue