0 purchases
dotup dart copyright builder
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",
]
copied to clipboard
Run:
dart pub run build_runner build
or
flutter pub run build_runner build
copied to clipboard
Generated header:
// Powered by https://dotup.de
// Copyright (c) 2021, dotup IT solutions - Peter Ullrich
// Some additional
// header text
...your source code
copied to clipboard
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
Links #
dotup_dart_copyright_builder on pub.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 !
dotup IT solutions #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.