r_assets 0.2.4
r_assets: ^0.2.4 copied to clipboard

auto generate R file; like android R file;

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add r_assets

With Flutter:

 $ flutter pub add r_assets

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

dependencies:
  r_assets: ^0.2.4

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:r_assets/cli/cli_utils.dart';
import 'package:r_assets/demo_plugin.dart';
import 'package:r_assets/generate_r_file/generate_assets_r_code.dart';
import 'package:r_assets/generate_r_file/generate_support_files.dart';
import 'package:r_assets/generate_r_file/lib/convert_mate_code.dart';
import 'package:r_assets/generate_r_file/lib/mate/font.dart';
import 'package:r_assets/generate_r_file/lib/mate/icon.dart';
import 'package:r_assets/generate_r_file/lib/mate/image.dart';
import 'package:r_assets/generate_r_file/lib/mate/string.dart';
import 'package:r_assets/generate_r_file/lib/mate/svg.dart';
import 'package:r_assets/generate_r_file/lib/template_string.dart';
import 'package:r_assets/logger/log.dart';
import 'package:r_assets/mirror_plugin.dart';
import 'package:r_assets/mirror_visitor.dart';
import 'package:r_assets/r_assets_plugin.dart';
import 'package:r_assets/starter.dart';
import 'package:r_assets/utils/map_utils.dart';
1
likes
50
pub points
0%
popularity

auto generate R file; like android R file;

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

analyzer, analyzer_plugin, basic_utils, glob, json2yaml, path, pub_semver, quick_log, yaml

More

Packages that depend on r_assets