widgeto 0.0.4 copy "widgeto: ^0.0.4" to clipboard
widgeto: ^0.0.4 copied to clipboard

Convert your widget to <dynamic>.

widgeto #

A simple way to transform your widget into other formats

Add to pubspec.yaml #

dependencies:
  widgeto: 0.0.1

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,
    );
}

For StatelessWidget #

...
  widgeto.pdf(MyStatelessWidget().build(null));
...

For StatefullWidget #

...
  widgeto.pdf(MyStatefulWidget().createState().build(null));
...
1
likes
20
pub points
8%
popularity

Publisher

unverified uploader

Convert your widget to <dynamic>.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, path_provider, pdf

More

Packages that depend on widgeto