at_template 0.1.0-rc.1 copy "at_template: ^0.1.0-rc.1" to clipboard
at_template: ^0.1.0-rc.1 copied to clipboard

discontinuedreplaced by: at_app_create

A templating library for generating flutter apps using mason.

example/example.dart

import 'package:universal_io/io.dart';

import 'src/my_template.dart';
import 'src/my_brick.dart';
import 'package:path/path.dart';

void main() async {
  MyTemplate template = MyTemplate();
  MyBrickVars vars = MyBrickVars();

  vars.projectName = 'my_project';
  vars.includeBundles(['android', 'ios', 'my_brick']);

  Directory dir = Directory(join(Directory.current.absolute.path, 'my_project'));

  int count = await template.generate(dir, vars: vars);
  print('count => $count');
  print('done');
}
0
likes
120
pub points
0%
popularity

Publisher

verified publisheratsign.org

A templating library for generating flutter apps using mason.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

json_annotation, mason, pub_semver, universal_io

More

Packages that depend on at_template