flutter_androssy_kits 1.0.13 copy "flutter_androssy_kits: ^1.0.13" to clipboard
flutter_androssy_kits: ^1.0.13 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(
    textConverter: (context, value) {
      return "This is translated value [$value]";
    },
    cachedNetworkImageBuilder: (context, config) {
      return CachedNetworkImage(imageUrl: config.imageUrl);
    },
    svgBuilder: (context, config) {
      switch (config.source) {
        case AndrossySvgSource.asset:
          return SvgPicture.asset(config.assetName);
        case AndrossySvgSource.file:
          return SvgPicture.file(config.file);
        case AndrossySvgSource.memory:
          return SvgPicture.memory(config.bytes);
        case AndrossySvgSource.network:
          return SvgPicture.network(config.url);
        case AndrossySvgSource.string:
          return SvgPicture.string(config.string);
      }
    },
  );
  // ...
}
3
likes
140
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

Collection of androssy_widgets with advanced styling and customization.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on flutter_androssy_kits