pixel_perfect 1.0.1 pixel_perfect: ^1.0.1 copied to clipboard
Development tool that helps you make your flutter application "pixel perfect"
pixel_perfect #
Add semi transparent image to your screen.
Getting started #
Add pixel_perfect in your pubspec.yaml
dependencies.
dependencies:
pixel_perfect: any
How To Use #
Add assets folder with images to your pubspec.yaml
uses-material-design: true
assets:
- assets/
Import the following package in your dart file
import 'package:pixel_perfect/pixel_perfect.dart';
return PixelPerfect(
image: 'assets/design.png', // path to your asset image
offset: Offset(0, 0) // optional argument if you need to move image
child: Scaffold()
)