Comments (3)
Hi,
we will look on this. However if it is iOS only problem help would be welcomed.
from signature.
If you have a StatefulWidget, a possible workaround for this is saving the state yourself.
As a sidenote, I was able to reproduce the error on an Android app, so it is not iOS exclusive
class MyWidget extends StatefulWidget {
@override
State<StatefulWidget> createState() => _MyWidgetState();
}
class _MyWidgetState extends State<MyWidget> {
List<Point> _currentPoints;
@override
Widget build(BuildContext context) {
Signature signature = Signature(
points: _currentPoints ?? [],
onChanged: (newPoints) {
setState(() {
_currentPoints = newPoints;
});
},
);
}
}
from signature.
This is fixed in 3.0.0 as data are stored in controller not in widget itself
from signature.
Related Issues (20)
- App crashes spontaneously while drawing HOT 2
- problem with signature with Samsung HOT 3
- Black area in horizontal screenmode HOT 1
- Drawing gradually show after continuous drawing
- svg export can have a reduced size HOT 2
- Wrapping the signature widget in padding draws out of right boundry HOT 1
- Problem with using Signature in a Stack HOT 1
- how can add text on signature ?
- when try to use m-pencil with signature the app hang
- Export toRawSVG dose not working correctly HOT 8
- When use onLongPress method to clear signature pad, it clear signature but when we start draw signature again it will display dot in position where we press long tap HOT 2
- Can we populate saved signature to signature pad? HOT 1
- Invalid width setting for iOS brush
- Dynamic Pressure Support breaks screen with Ipad and Apple Pencil HOT 1
- Signature svg error HOT 1
- SIgnatureController doesn't return Image from flutter/material.dart HOT 1
- Dynamic color change for penColor HOT 1
- _controller.isEmpty() constantly listening to changes to signature pad HOT 2
- toJson: Converting object to an encodable object failed: Instance of 'Point' HOT 4
- Contributing Guide missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from signature.