Skip to main content

d_zero_core 0.1.0 copy "d_zero_core: ^0.1.0" to clipboard
d_zero_core: ^0.1.0 copied to clipboard

Core foundation library for zero-allocation Flutter widgets and high-performance Impeller rendering.

⚡️ d_zero_core #

Core foundation library for zero-allocation Flutter widgets and high-performance Impeller rendering.

License: MIT Impeller: Vulkan & Metal


📦 Key Components #

  • ZWidget / ZeroRenderBox: Base LeafRenderObjectWidget and RenderBox primitives that bypass Widget.build() and setState(), triggering only markNeedsPaint() with an automatic repaint boundary.
  • ZeroNumberPainter: Pre-rasterized ASCII/UTF-16 glyph table renderer that draws integers, decimals, and timecodes (00:00.00) directly to Canvas without int.toString() or heap string allocations.
  • FloatRingBuffer: Fixed-capacity Float32List-backed circular buffer for zero-allocation time-series, audio waveform, and telemetry streaming.
  • ZeroPool<T>: Pre-warmed object pool eliminating per-frame heap allocations in 60fps/120fps render loops.
  • ZeroFrameScheduler & ZeroNotifier: Lightweight V-Sync ticker and value notification primitives designed for direct RenderBox binding.

🚀 Usage #

import 'package:d_zero_core/d_zero_core.dart';

// Fixed-capacity ring buffer with zero heap allocation on write
final buffer = FloatRingBuffer(1024);
buffer.push(0.42);

📄 License #

MIT License © 2026 fexcy

0
likes
0
points
1.27k
downloads

Publisher

unverified uploader

Weekly Downloads

Core foundation library for zero-allocation Flutter widgets and high-performance Impeller rendering.

Homepage
Repository (GitHub)
View/report issues

Topics

#performance #zero-allocation #impeller #widget

License

unknown (license)

Dependencies

ffi, flutter

More

Packages that depend on d_zero_core