Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dotupnet/dotup_dart_copyright_generator
Dart package that generates a header for each dart file.
https://github.com/dotupnet/dotup_dart_copyright_generator
awesome dart flutter generator
Last synced: 9 days ago
JSON representation
Dart package that generates a header for each dart file.
- Host: GitHub
- URL: https://github.com/dotupnet/dotup_dart_copyright_generator
- Owner: dotupNET
- License: gpl-3.0
- Created: 2021-11-15T17:54:02.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-06T09:52:53.000Z (8 months ago)
- Last Synced: 2024-04-06T10:33:41.349Z (8 months ago)
- Topics: awesome, dart, flutter, generator
- Language: Dart
- Homepage: https://dotup.de
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
![dart](https://badgen.net/pub/flutter-platform/xml) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) ![forks](https://badgen.net/github/forks/dotupNET/dotup_dart_copyright_generator/) ![stars](https://badgen.net/github/stars/dotupNET/dotup_dart_copyright_generator/)
# dotup_dart_copyright_builder
Dart package that generates a header for each dart file.
## Usage
Usage example: build.yaml
```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:
```shell
dart pub run build_runner buildor
flutter pub run build_runner build
```Generated header:
```dart
// 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`## Links
> ### dotup_dart_copyright_builder on [pub.dev](https://pub.dev/packages/dotup_dart_copyright_builder)
>
> ### Other widgets on [pub.dev](https://pub.dev/packages?q=dotup)
>
> ### Other open source flutter projects on [Github](https://github.com/search?q=dotup_flutter)
>
> ### Other open source dart projects on [Github](https://github.com/search?q=dotup_dart)# Flutter simulator | DFFP3
> Go to [https://flutter-apps.ml](https://flutter-apps.ml) and check out the awesome flutter simulator !![Flutter simulator](https://flutter-apps.ml/wp-content/uploads/2021/10/Bildschirmfoto-2021-10-31-um-11.34.42-2048x1335.png)
> ## [dotup IT solutions](https://dotup.de)