dotup_dart_copyright_builder 1.0.3 icon indicating copy to clipboard operation
dotup_dart_copyright_builder: ^1.0.3 copied to clipboard

Generates copyright header for each dart file

dotup_dart_copyright_builder #

Dart package that generates a header for each dart file.

Usage #

Usage example: build.yaml


builders:

  copyrightBuilder:
    import: "package:dotup_dart_copyright_builder/builder.dart"
    builder_factories: ["copyrightBuilder"]
    build_extensions: {".dart": [".copyright.dart"]}
    build_to: source
    auto_apply: root_package
    applies_builders: ["copyrightBuilder"]
    defaults:
      options:
        force: false
        enabled: true
        copyright: "dotup IT solutions - Peter Ullrich"
        text: [
          "// Some additional ",
          "// header text",
        ]

Run:

dart pub run build_runner build

or

flutter pub run build_runner build

Generated header:

// Powered by https://dotup.de
// Copyright (c) 2021, dotup IT solutions - Peter Ullrich
// Some additional
// header text

...your source code

The end of the header is recognized by a blank line. If 'force' is true, headers will be removed and generated again

Install #

flutter pub add dotup_dart_copyright_builder --dev

Other widgets on pub.dev #

Other open source flutter projects on Github #

Other open source dart projects on Github #

Flutter simulator | DFFP3 #

Go to https://flutter-apps.ml and check out the awesome flutter simulator !

Flutter simulator

dotup IT solutions #

0
likes
120
pub points
0%
popularity

Publisher

verified publisher icondotup.de

Generates copyright header for each dart file

Homepage
Repository (GitHub)

Documentation

API reference

License

Icon for licenses.GPL-3.0 (LICENSE)

Dependencies

build

More

Packages that depend on dotup_dart_copyright_builder