widgetbook_models 0.0.7 copy "widgetbook_models: ^0.0.7" to clipboard
widgetbook_models: ^0.0.7 copied to clipboard

discontinuedreplaced by: widgetbook

A package that combines commonly used models from the widgetbook packages.

example/main.dart

import 'package:widgetbook_models/widgetbook_models.dart';

Device iPhone = Apple.iPhone12;
Device s10 = Samsung.s10;
Device customDevice = const Device.special(
  name: 'Squared device',
  resolution: Resolution(
    nativeSize: DeviceSize(
      height: 200,
      width: 200,
    ),
    scaleFactor: 2,
  ),
);
4
likes
130
pub points
61%
popularity

Publisher

verified publisherwidgetbook.io

A package that combines commonly used models from the widgetbook packages.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

freezed_annotation, meta

More

Packages that depend on widgetbook_models