Viewing version 1.2.1. Open the latest package page.
source_helper
1.2.1Utilities to help with Dart source code generation. Includes utilities for properly generating String literals from any String value.
Readme
Utilities to help with Dart source code generation.
Contributing
See CONTRIBUTING.md for details.
License
Apache 2.0; see LICENSE for details.
Disclaimer
This project is not an official Google project. It is not supported by Google and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.
Changelog
1.2.1
- More efficiently escape strings with both single and double quotes.
1.2.0
- Support the latest version of
package:analyzer.
1.1.0
- Added
typeArgumentsOfextension toDartType.
1.0.0
- First release!
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'source_helper:1.2.1'pubspec.yaml
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: source_helper
description: Utilities to help with Dart source code generation. Includes
utilities for properly generating String literals from any String value.
version: 1.2.1
repository: https://github.com/google/source_helper.dart
environment:
sdk: '>=2.12.0 <3.0.0'
dependencies:
analyzer: '>=1.3.0 <3.0.0'
collection: ^1.15.0
source_gen: ^1.0.0
dev_dependencies:
pedantic: ^1.0.0
test: ^1.16.0
test_descriptor: ^2.0.0
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 1.0.0 | Cached · Upstream SHA-256 matched | Download | 2ef3f4ce…32147f |
| 1.1.0 | Cached · Upstream SHA-256 matched | Download | 6c3edc0f…fa9988 |
| 1.2.0 | Cached · Upstream SHA-256 matched | Download | 75d50f95…ea53f9 |
| 1.2.1 | Cached · Upstream SHA-256 matched | Download | 9857722e…a00483 |
| 1.3.0 | Cached · Upstream SHA-256 matched | Download | efa3f474…0fe056 |
| 1.3.1 | Cached · Upstream SHA-256 matched | Download | bff606c0…b5b8b3 |
| 1.3.2 | Cached · Upstream SHA-256 matched | Download | 522d9b05…a784fe |
| 1.3.3 | Cached · Upstream SHA-256 matched | Download | 3b67aade…87ca1f |
| 1.3.4 | Cached · Upstream SHA-256 matched | Download | 6adebc00…de01fd |
| 1.3.5 | Cached · Upstream SHA-256 matched | Download | 86d24711…b48b3c |
| 1.3.6 | Cached · Upstream SHA-256 matched | Download | 4f81479f…fdf2a1 |
| 1.3.7 | Cached · Upstream SHA-256 matched | Download | a447acb0…0f3aca |
| 1.3.8 | Cached · Upstream SHA-256 matched | Download | 6a3c6cc8…038723 |
| 1.3.9 | Cached · Upstream SHA-256 matched | Download | e82b1996…123f0d |
| 1.3.10 | Cached · Upstream SHA-256 matched | Download | 4a85e90b…e3caae |
| 1.3.11 | Cached · Upstream SHA-256 matched | Download | 1d3b229b…cb1b8f |
| 1.3.12 | Cached · Upstream SHA-256 matched | Download | 4227d54c…0e4eae |
| 1.3.13 | Cached · Upstream SHA-256 matched | Download | 5e6f216f…03c67c |
| 1.4.0 | Cached · Upstream SHA-256 matched | Download | 279126bc…0e9984 |
Dependencies
analyzer "\u003e=1.3.0 \u003c3.0.0"
collection "^1.15.0"
source_gen "^1.0.0"