0 purchases
widgeto
widgeto #
A simple way to transform your widget into other formats
Add to pubspec.yaml #
dependencies:
widgeto: 0.0.1
copied to clipboard
Example #
import 'package:widgeto/widgeto.dart';
import 'package:flutter/material.dart';
void main() async {
Widgeto widgeto = new Widgeto();
await widgeto.pdf(Container(
height: 100,
width: 200,
color: Colors.red,
);
}
copied to clipboard
For StatelessWidget #
...
widgeto.pdf(MyStatelessWidget().build(null));
...
copied to clipboard
For StatefullWidget #
...
widgeto.pdf(MyStatefulWidget().createState().build(null));
...
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.