pixelarticons 0.4.0 copy "pixelarticons: ^0.4.0" to clipboard
pixelarticons: ^0.4.0 copied to clipboard

Pixel Art Icons made simple for Flutter, powered by pixelarticons and fontify

example/lib/main.dart

import 'package:flutter/material.dart';

void main() {
  runApp(const HomePage());
}

class HomePage extends StatelessWidget {
  const HomePage({Key? key}) : super(key: key);

  static const _kAndroidColor = Color(0xFF3ADD85);
  static const _kBackgroundColor = Color(0xFF000000);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Builder(
        builder: (context) {
          return Scaffold(
            backgroundColor: _kBackgroundColor,
            body: Center(
              child: Transform.scale(
                scale: 2,
                child: Column(
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: const [
                    Icon(
                      Pixel.android,
                      color: _kAndroidColor,
                    ),
                    Icon(
                      Pixel.article,
                      color: _kAndroidColor,
                    ),
                  ],
                ),
              ),
            ),
          );
        },
      ),
    );
  }
}
12
likes
140
pub points
63%
popularity

Publisher

verified publisheralexrintt.io

Pixel Art Icons made simple for Flutter, powered by pixelarticons and fontify

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on pixelarticons