pokeball_widget 1.0.0 copy "pokeball_widget: ^1.0.0" to clipboard
pokeball_widget: ^1.0.0 copied to clipboard

outdated

A Pokeball CustomPaint to draw a pokeball.

pokeball #

Simple custom painter pokeball widget.

Usage #

For more usages check the examples folder

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Builder(
        builder: (context) => Scaffold(
          body: Center(
            // Squared container for the pokeball
            child: SizedBox(
              height: MediaQuery.of(context).size.width / 2,
              width: MediaQuery.of(context).size.width / 2,
              child: PokeBallWidget(
                color: Theme.of(context).textTheme.bodyText2?.color ?? Colors.black,
              ),
            ),
          ),
        ),
      ),
    );
  }
}

Examples #

1
likes
0
pub points
22%
popularity

Publisher

verified publisherdeb95.dev

A Pokeball CustomPaint to draw a pokeball.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on pokeball_widget