@meursyphus/flitter 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -12
- package/index.cjs +270 -481
- package/index.d.cts +8 -3
- package/index.d.ts +8 -3
- package/index.global.js +450 -715
- package/index.js +270 -481
- package/package.json +11 -8
package/index.d.cts
CHANGED
|
@@ -4813,7 +4813,7 @@ declare function ClipOval({ child, borderRadius, clipped, clipper, key, }: {
|
|
|
4813
4813
|
}): any;
|
|
4814
4814
|
|
|
4815
4815
|
declare const _default$h: (args_0: {
|
|
4816
|
-
decoration:
|
|
4816
|
+
decoration: Decoration;
|
|
4817
4817
|
child?: Widget;
|
|
4818
4818
|
key?: any;
|
|
4819
4819
|
}) => any;
|
|
@@ -4874,9 +4874,14 @@ declare class RenderCustomPaint<T extends Record<string, SVGElement> = Record<st
|
|
|
4874
4874
|
protected computeSizeForNoChild(constraints: Constraints): Size;
|
|
4875
4875
|
getIntrinsicWidth(height: number): number;
|
|
4876
4876
|
getIntrinsicHeight(width: number): number;
|
|
4877
|
-
protected createSvgPainter():
|
|
4877
|
+
protected createSvgPainter(): SvgPainterCustomPaint<Record<string, SVGElement>>;
|
|
4878
4878
|
protected createCanvasPainter(): CanvasPainter;
|
|
4879
4879
|
}
|
|
4880
|
+
declare class SvgPainterCustomPaint<T extends Record<string, SVGElement>> extends SvgPainter {
|
|
4881
|
+
get painter(): Painter<T, any>;
|
|
4882
|
+
protected performPaint(svgEls: T, _: SvgPaintContext): void;
|
|
4883
|
+
protected createDefaultSvgEl(paintContext: SvgPaintContext): T;
|
|
4884
|
+
}
|
|
4880
4885
|
|
|
4881
4886
|
declare const _default$f: (args_0: {
|
|
4882
4887
|
child?: Widget;
|
|
@@ -5002,7 +5007,7 @@ declare const _default$5: (args_0: {
|
|
|
5002
5007
|
width?: number;
|
|
5003
5008
|
height?: number;
|
|
5004
5009
|
color?: string;
|
|
5005
|
-
decoration?:
|
|
5010
|
+
decoration?: Decoration;
|
|
5006
5011
|
clipped?: boolean;
|
|
5007
5012
|
constraints?: Constraints;
|
|
5008
5013
|
transform?: Matrix4;
|
package/index.d.ts
CHANGED
|
@@ -4813,7 +4813,7 @@ declare function ClipOval({ child, borderRadius, clipped, clipper, key, }: {
|
|
|
4813
4813
|
}): any;
|
|
4814
4814
|
|
|
4815
4815
|
declare const _default$h: (args_0: {
|
|
4816
|
-
decoration:
|
|
4816
|
+
decoration: Decoration;
|
|
4817
4817
|
child?: Widget;
|
|
4818
4818
|
key?: any;
|
|
4819
4819
|
}) => any;
|
|
@@ -4874,9 +4874,14 @@ declare class RenderCustomPaint<T extends Record<string, SVGElement> = Record<st
|
|
|
4874
4874
|
protected computeSizeForNoChild(constraints: Constraints): Size;
|
|
4875
4875
|
getIntrinsicWidth(height: number): number;
|
|
4876
4876
|
getIntrinsicHeight(width: number): number;
|
|
4877
|
-
protected createSvgPainter():
|
|
4877
|
+
protected createSvgPainter(): SvgPainterCustomPaint<Record<string, SVGElement>>;
|
|
4878
4878
|
protected createCanvasPainter(): CanvasPainter;
|
|
4879
4879
|
}
|
|
4880
|
+
declare class SvgPainterCustomPaint<T extends Record<string, SVGElement>> extends SvgPainter {
|
|
4881
|
+
get painter(): Painter<T, any>;
|
|
4882
|
+
protected performPaint(svgEls: T, _: SvgPaintContext): void;
|
|
4883
|
+
protected createDefaultSvgEl(paintContext: SvgPaintContext): T;
|
|
4884
|
+
}
|
|
4880
4885
|
|
|
4881
4886
|
declare const _default$f: (args_0: {
|
|
4882
4887
|
child?: Widget;
|
|
@@ -5002,7 +5007,7 @@ declare const _default$5: (args_0: {
|
|
|
5002
5007
|
width?: number;
|
|
5003
5008
|
height?: number;
|
|
5004
5009
|
color?: string;
|
|
5005
|
-
decoration?:
|
|
5010
|
+
decoration?: Decoration;
|
|
5006
5011
|
clipped?: boolean;
|
|
5007
5012
|
constraints?: Constraints;
|
|
5008
5013
|
transform?: Matrix4;
|