flutter_androssy_kits 1.0.4 copy "flutter_androssy_kits: ^1.0.4" to clipboard
flutter_androssy_kits: ^1.0.4 copied to clipboard

Collection of androssy_widgets with advanced styling and customization.

flutter_androssy_kits #

Collection of androssy_widgets with advanced styling and customization.

INIT INSTANCE

void main() {
  Androssy.init(
    cachedNetworkImageBuilder: (context, config) {
      return CachedNetworkImage(imageUrl: config.imageUrl);
    },
    svgImageBuilder: (context, config) {
      switch (config.source) {
        case AndrossyContentSource.asset:
          return SvgPicture.asset(config.assetName);
        case AndrossyContentSource.file:
          return SvgPicture.file(config.file);
        case AndrossyContentSource.memory:
          return SvgPicture.memory(config.bytes);
        case AndrossyContentSource.network:
          return SvgPicture.network(config.url);
        case AndrossyContentSource.string:
          return SvgPicture.string(config.string);
      }
    },
  );
  // ...
}
3
likes
0
points
293
downloads

Publisher

unverified uploader

Weekly Downloads

Collection of androssy_widgets with advanced styling and customization.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_androssy_kits