-
## 参考资料
- [Path 与 CustomPainter](https://juejin.cn/post/6844904138812162056)
- [flutter_custom_clippers](https://pub.dev/packages/flutter_custom_clippers)
- [Flutter Shape Maker](https://fluttersha…
-
`CustomPainter.hitTest` is missing the size of the widget, making it impossible to specify custom hit test behaviour when `paint` uses its `size` argument.
Simplistic example:
```dart
class Cir…
-
### Steps to reproduce
I am making extensive usage of custom painters in an app. A recent update from 3.22.1 to 3.24.3 broke many of my shaders.
I created below a minimal widget to reproduce the i…
-
### Steps to reproduce
We encountered a crash in the app related to custom painter redraws. The issue is most likely to occur when the app experiences lag due to heavy data processing. While the cras…
centy updated
3 months ago
-
Hi! Thank you for this library. It has helped me increase my productivity and greatly simplify my state and logic code, and it has quickly become my favorite state management solution.
I'm writing …
-
I'm using this library to create a path that consists of multiple curves, the issue is that when I draw the path using CustomPainter `cubicTo`
```
var cubic = GameObject.shared.cubicBeziers;
…
-
Hi
Whenever i create a shape, XD is giving me dart code with Container with decoration option or SvgPicture.
I am looking for the code in CustomPainter.
How do i force XD to export the widget w…
-
Hi, I can't seem to make scan window work when I use BoxFit.cover instead of BoxFit.contain. I think it is related to how I am painting the overlay scan, but dunno what to do.
```
Scaffold(
…
-
i have the custom `CustomPainter` class:
```dart
class BlendPainter extends CustomPainter {
ui.Image image, mask;
BlendPainter(this.image, this.mask);
@override
void paint(Canvas c…
-
```dart
import 'dart:io';
import 'dart:ui' as ui;
import 'package:flutter/material.dart';
import 'package:path_provider/path_provider.dart';
void main() => runApp(MyApp());
String FILENAME…