pixels 1.0.0 copy "pixels: ^1.0.0" to clipboard
pixels: ^1.0.0 copied to clipboard

Minimalistic pixel editor for Flutter.

Pixels #

Pixels is a minimalistic pixel editor for Flutter. It also comes with a couple of handy widgets for displaying and manipulating pixel images.

Pixels screenshot

Usage #

class MyHomePage extends StatefulWidget {
  const MyHomePage({
    super.key,
  });

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final _controller = PixelImageController(
    palette: const PixelPalette.rPlace(),
    width: 64,
    height: 64,
  );

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.black,
      body: Center(
        child: PixelEditor(
          controller: _controller,
        ),
      ),
    );
  }
}

Additional information #

This project is sponsored by Serverpod - the missing server for Flutter.

15
likes
150
pub points
59%
popularity

Publisher

verified publisherserverpod.dev

Minimalistic pixel editor for Flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on pixels