We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just wrap you CustomPaint in a ClipRect, so when displayed on some widget dont go beyond the boundaries.
In my case, using the Stack with the property fit = StackFit.expand has a good result too in the screen
fit = StackFit.expand
@override Widget build(BuildContext context) => Stack( fit: StackFit.expand, children: [ widget.child, IgnorePointer( child: ClipRect( child: CustomPaint( foregroundPainter: _ArrowPainter( _elements, Directionality.of(context), [this, ...widget.listenables], ), child: Container(), ), ), ), ], );
Example
The text was updated successfully, but these errors were encountered:
Hey, thanks for the input! Can I ask you for a pull request with the changes you want?
Sorry, something went wrong.
No branches or pull requests
Just wrap you CustomPaint in a ClipRect, so when displayed on some widget dont go beyond the boundaries.
In my case, using the Stack with the property
fit = StackFit.expand
has a good result too in the screenExample
The text was updated successfully, but these errors were encountered: