ds_flutter_gen_core 5.8.3 copy "ds_flutter_gen_core: ^5.8.3" to clipboard
ds_flutter_gen_core: ^5.8.3 copied to clipboard

Fork of the Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs. Prefer to use original flutter_gen

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add ds_flutter_gen_core

With Flutter:

 $ flutter pub add ds_flutter_gen_core

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  ds_flutter_gen_core: ^5.8.3

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:ds_flutter_gen_core/flutter_generator.dart';
import 'package:ds_flutter_gen_core/generators/assets_generator.dart';
import 'package:ds_flutter_gen_core/generators/colors_generator.dart';
import 'package:ds_flutter_gen_core/generators/fonts_generator.dart';
import 'package:ds_flutter_gen_core/generators/generator_helper.dart';
import 'package:ds_flutter_gen_core/generators/integrations/flare_integration.dart';
import 'package:ds_flutter_gen_core/generators/integrations/image_integration.dart';
import 'package:ds_flutter_gen_core/generators/integrations/integration.dart';
import 'package:ds_flutter_gen_core/generators/integrations/lottie_integration.dart';
import 'package:ds_flutter_gen_core/generators/integrations/rive_integration.dart';
import 'package:ds_flutter_gen_core/generators/integrations/svg_integration.dart';
import 'package:ds_flutter_gen_core/settings/asset_type.dart';
import 'package:ds_flutter_gen_core/settings/color_path.dart';
import 'package:ds_flutter_gen_core/settings/config.dart';
import 'package:ds_flutter_gen_core/settings/config_default.dart';
import 'package:ds_flutter_gen_core/settings/flavored_asset.dart';
import 'package:ds_flutter_gen_core/settings/import.dart';
import 'package:ds_flutter_gen_core/settings/pubspec.dart';
import 'package:ds_flutter_gen_core/settings/pubspec.g.dart';
import 'package:ds_flutter_gen_core/utils/cast.dart';
import 'package:ds_flutter_gen_core/utils/color.dart';
import 'package:ds_flutter_gen_core/utils/error.dart';
import 'package:ds_flutter_gen_core/utils/file.dart';
import 'package:ds_flutter_gen_core/utils/identifer.dart';
import 'package:ds_flutter_gen_core/utils/map.dart';
import 'package:ds_flutter_gen_core/utils/string.dart';
import 'package:ds_flutter_gen_core/version.gen.dart';
0
likes
140
points
429
downloads

Publisher

unverified uploader

Weekly Downloads

Fork of the Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs. Prefer to use original flutter_gen

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

archive, args, collection, color, dart_style, dartx, glob, image_size_getter, json_annotation, meta, mime, path, pub_semver, vector_graphics_compiler, xml, yaml

More

Packages that depend on ds_flutter_gen_core