file_generator 0.0.1 copy "file_generator: ^0.0.1" to clipboard
file_generator: ^0.0.1 copied to clipboard

A Dart package for generating files and Bloc structure.

example/example.dart

import 'package:file_generator/file_generator.dart';

void main() async {
  final fileGenerator = FileGenerator();
  await fileGenerator.generateFile(
    path: 'lib/',
    fileName: 'example_file.txt',
    content: 'This is an example file.',
  );
  await fileGenerator.generateBlocStructure('auth', 'lib/');
}
1
likes
140
points
20
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart package for generating files and Bloc structure.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

bloc, equatable, flutter, flutter_bloc, flutter_lints, path, path_provider

More

Packages that depend on file_generator