Visitar URL original
Create flutter_template_images package by stuartmorgan-g · Pull Request #118 · flutter/packages · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions packages/flutter_template_images/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
**/doc/api/
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
build/

# Exceptions to above rules.
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
3 changes: 3 additions & 0 deletions packages/flutter_template_images/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## [1.0.0] - 2020-03-16

* Windows app template icon.
27 changes: 27 additions & 0 deletions packages/flutter_template_images/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Copyright 2020 The Flutter Authors. All rights reserved.
Comment thread
stuartmorgan-g marked this conversation as resolved.
Resolved

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9 changes: 9 additions & 0 deletions packages/flutter_template_images/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# flutter\_template\_images

Images used by the `flutter_tools` templates.

This project is an internal dependency of the `flutter` tool, and is
not intended to be used directly. It contains images files used in
`flutter create` templates, to avoid checking them into [the main
Flutter repository](https://github.com/flutter/flutter), where they would
permanently increase the checkout size over time if altered.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
library flutter_template_images;

// There is no source for this package, since it only exists to hold images.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i guess we need a dart file to make pub happy?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't actually know; I decided to leave it like this because having no source felt like the kind of thing that might break later since it's such an odd thing to do. If you'd rather risk it I can try it out, it just didn't seem worth it to me. (Plus this makes things a bit more self-documenting if someone looks at the source instead of the README.)

7 changes: 7 additions & 0 deletions packages/flutter_template_images/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: flutter_template_images
description: Image files for use in flutter_tools templates.
version: 1.0.0
homepage: https://github.com/flutter/packages/tree/master/packages/flutter_template_images

environment:
sdk: ">=2.1.0 <3.0.0"
Binary file not shown.