https://github.com/serverpod/pixels
https://github.com/serverpod/pixels
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/serverpod/pixels
- Owner: serverpod
- License: bsd-3-clause
- Created: 2022-09-23T15:42:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-18T04:52:56.000Z (over 3 years ago)
- Last Synced: 2025-04-02T09:51:15.128Z (12 months ago)
- Language: Dart
- Size: 251 KB
- Stars: 9
- Watchers: 2
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Pixels
Pixels is a minimalistic pixel editor for Flutter. It also comes with a couple
of handy widgets for displaying and manipulating pixel images.

## Usage
```dart
class MyHomePage extends StatefulWidget {
const MyHomePage({
super.key,
});
@override
State createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
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](https://serverpod.dev) - the missing
server for Flutter.