TF-2764 Add PDFViewer to preview PDF attachment
This commit is contained in:
@@ -216,10 +216,6 @@ class ImagePaths {
|
||||
return AssetsPaths.images + imageName;
|
||||
}
|
||||
|
||||
String _getIconPath(String iconName) {
|
||||
return AssetsPaths.icons + iconName;
|
||||
}
|
||||
|
||||
String getConfigurationImagePath(String imageName) {
|
||||
return AssetsPaths.configurationImages + imageName;
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ class _TextFieldFormBuilderState extends State<TextFormFieldBuilder> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return TextFormField(
|
||||
return TextField(
|
||||
key: widget.key,
|
||||
controller: _controller,
|
||||
cursorColor: widget.cursorColor,
|
||||
@@ -105,7 +105,7 @@ class _TextFieldFormBuilderState extends State<TextFormFieldBuilder> {
|
||||
}
|
||||
}
|
||||
},
|
||||
onFieldSubmitted: widget.onTextSubmitted,
|
||||
onSubmitted: widget.onTextSubmitted,
|
||||
onTap: widget.onTap,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user