fcnui 1.0.2 copy "fcnui: ^1.0.2" to clipboard
fcnui: ^1.0.2 copied to clipboard

The flutter_cn_ui CLI (Command-Line Interface) tool. It is used to generate component code for the flutter_cn_ui package.

example/lib/main.dart

import 'dart:developer';
import 'dart:io';

Future<ProcessResult> run(List<String> args) async {
  final process = await Process.run('fcnui', args);
  print(process.stdout.toString());
  return process;
}

void main() {
  //ivalid command
  // invalidCommand();

  //init
  // initialize();

  //add button
  addButton();
}

void invalidCommand() {
  run([]);
}

void initialize() {
  run(['init']);
}

void addButton() {
  run(['add', 'button']);
}
5
likes
0
pub points
13%
popularity

Publisher

verified publishershoh.dev

The flutter_cn_ui CLI (Command-Line Interface) tool. It is used to generate component code for the flutter_cn_ui package.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, equatable, fpdart, get_it, yaml_edit

More

Packages that depend on fcnui