Closed ea-jobvalley closed 4 months ago
Hello, I'm implementing a signing feature in Flutter using this nice plugin. Unfortunately I have an issue with a mysterious black area on the screen which only appears in horizontal screen mode. I attached a screenshot of it.
The code of the widgets build method:
Widget build(BuildContext context) { final SignatureController signatureController = SignatureController( penStrokeWidth: 5, penColor: Colors.black, exportBackgroundColor: Colors.white, ); final signatureCanvas = Signature( controller: signatureController, backgroundColor: Colors.debugRed, ); return Scaffold( backgroundColor: Colors.white, body: Expanded( child: signatureCanvas, ), ); }
The issue appears on both Android and iOS (devices and simulators).
EDIT: I just replaced "signatureCanvas" with a Container() and the problem still occurs. So I guess it has nothing to do with the plugin.
I have been unable to reproduce this, so it indeed looks like related to something else rather than plugin.
Hello, I'm implementing a signing feature in Flutter using this nice plugin. Unfortunately I have an issue with a mysterious black area on the screen which only appears in horizontal screen mode. I attached a screenshot of it.
The code of the widgets build method:
The issue appears on both Android and iOS (devices and simulators).
EDIT: I just replaced "signatureCanvas" with a Container() and the problem still occurs. So I guess it has nothing to do with the plugin.