sandboxed_core 0.1.1+1 copy "sandboxed_core: ^0.1.1+1" to clipboard
sandboxed_core: ^0.1.1+1 copied to clipboard

Core logic and utilities powering the Sandboxed UI development environment. Includes base classes and internal APIs.

🧩 Sandboxed Core #

Core primitives for Sandboxed
a Flutter tool for developing, testing, and documenting UI components in isolation.

This package contains the core types used to define and organize components and stories, including:

  • Meta — component metadata
  • Story — interactive use-case definitions
  • Params — runtime param interfaces
  • DocumentEntry — documentation support (e.g. MDX)
  • Decorator — widget wrappers for layout and context
  • Config — global configuration for storybooks

📦 Installation #

Add to your pubspec.yaml:

dependencies:
  sandboxed_core:

🧱 Example #

import 'package:sandboxed_core/sandboxed_core.dart';

Meta get meta => Meta<MyButton>(
  name: 'My Button',
  module: 'UI / Buttons',
  parameters: {
    'golden': true,
  },
  decorators: [
    Decorator((context, child) => Padding(
      padding: const EdgeInsets.all(16),
      child: child,
    )),
  ],
);

Story get $Primary => Story(
  name: 'Primary',
  builder: (context, params) => MyButton(
    title: params.string('title').required('Click Me'),
    color: params.color('color').required(Colors.blue),
  ),
);

📄 License #

MIT License © 2025 Sandboxed, Vadim Melnikov

0
likes
130
points
34
downloads

Publisher

verified publishersboxed.dev

Weekly Downloads

Core logic and utilities powering the Sandboxed UI development environment. Includes base classes and internal APIs.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

equatable, flutter, recase

More

Packages that depend on sandboxed_core