Widget _buildMessage() {
return TextFormField(
controller: _messageController,
minLines: 12,
maxLines: 12,
decoration: InputDecoration(
labelText: getTranslated(context, 'message'),
fillColor: Colors.white,
border: new OutlineInputBorder(
borderRadius: new BorderRadius.circular(25.0),
borderSide: new BorderSide(),
),
),
validator: (String value) {
if (value.isEmpty) {
return 'Name is Required';
}
return null;
},
onSaved: (String value) {
_messageController.text = value;
},
);
}