Skip to content

Commit

Permalink
Integrate changes for Flutter Forward and Flutter 3.7 (flutter#8155)
Browse files Browse the repository at this point in the history
* Update build action for website-private repo (#81)

Co-authored-by: Khanh Nguyen <[email protected]>

* Bring PR template up to date & update build for website-private (#96)

* Bring PR template up to date for freeze

* update build to run ci on website-private

* Bump examples/codelabs from `644dc33` to `33aadee` (#95)

Bumps [examples/codelabs](https://github.com/flutter/codelabs) from `644dc33` to `33aadee`.
- [Release notes](https://github.com/flutter/codelabs/releases)
- [Commits](flutter/codelabs@644dc33...33aadee)

---
updated-dependencies:
- dependency-name: examples/codelabs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Khanh Nguyen <[email protected]>

* Bump site-shared from `faddba8` to `04233ee` (#97)

Bumps [site-shared](https://github.com/dart-lang/site-shared) from `faddba8` to `04233ee`.
- [Release notes](https://github.com/dart-lang/site-shared/releases)
- [Commits](dart-lang/site-shared@faddba8...04233ee)

---
updated-dependencies:
- dependency-name: site-shared
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [Windows] Document the dark title bar migration (#98)

* Document Windows dark title bar migration guide

* Update example link

Co-authored-by: Loic Sharma <[email protected]>

* Bump examples/codelabs from `33aadee` to `48a4d2d` (flutter#100)

Bumps [examples/codelabs](https://github.com/flutter/codelabs) from `33aadee` to `48a4d2d`.
- [Release notes](https://github.com/flutter/codelabs/releases)
- [Commits](flutter/codelabs@33aadee...48a4d2d)

---
updated-dependencies:
- dependency-name: examples/codelabs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Migrate check_link_references tool to be Dart based (flutter#99)

* Migrate check_link_references tool to be Dart based
Also enable the workflow for flutter-forward-23 so broken links are found.

* Add a success confirmation message

* Adjust name of workflow for new behavior

* Simplify workflow name

* Clean up messaging and names

* Update linkcheck to null-safe release (flutter#101)

* Update to Ruby 3.2 with fix to liquid (flutter#102)

* Bump examples/codelabs from `48a4d2d` to `907b2a4` (flutter#105)

* Add CupertinoList widgets to the catalog (flutter#107)

* Bump github/codeql-action from 2.1.37 to 2.1.38 (flutter#111)

* Bump examples/codelabs from `907b2a4` to `caeae28` (flutter#112)

Bumps [examples/codelabs](https://github.com/flutter/codelabs) from `907b2a4` to `caeae28`.
- [Release notes](https://github.com/flutter/codelabs/releases)
- [Commits](flutter/codelabs@907b2a4...caeae28)

---
updated-dependencies:
- dependency-name: examples/codelabs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix and cleanup snippets from recent i18n changes (flutter#110)

* Remove intl_example test and analysis skip

* Fixes and cleanup to snippets from recent i18n changes

* Adjust text around pinning

* Add linguist override to increase language accuracy (flutter#115)

* Add new commands to Flutter CLI reference (flutter#116)

* Add localization entries to Flutter pubspec reference (flutter#114)

Fixes flutter#7456

* Update 'intl_example' to use 'intl_translation' and add basic test (flutter#113)

* Update 'intl_example' to use 'intl_translation' and add basic test

* Add new line at end of file

* Remove lastModified

* Refresh code excerpts

Co-authored-by: Anthony Sansone <[email protected]>

* Update 'Obfuscating Dart code' for updated platform support (flutter#108)

* Update 'Obfuscating Dart code' for updated platform support

* Add Linux to list of supported build targets as well

* Switch to info for the web note

* Use code font for the supported build targets

* Make web note more concise

Co-authored-by: Anthony Sansone <[email protected]>

* Make adjustments to pre-existing writing from feedback

* Switch list format

* Switch app back to code

Co-authored-by: Anthony Sansone <[email protected]>

* Update base Docker image to bullseye from buster (flutter#103)

* Update base Docker image to bullseye from buster

* Use slim version of bullseye

Co-authored-by: Anthony Sansone <[email protected]>

* Bump examples/codelabs from `caeae28` to `57bed10` (flutter#117)

* Bump pigeon in /examples/development/platform_integration (flutter#118)

Bumps [pigeon](https://github.com/flutter/packages/tree/main/packages) from 5.0.1 to 6.0.1.
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/pigeon-v6.0.1/packages)

---
updated-dependencies:
- dependency-name: pigeon
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Khanh Nguyen <[email protected]>

* fix examples for beta (flutter#119)

* fix examples for beta

* update build.yml for beta build

* Adding a page on false positives from security tools (flutter#120)

* Adding a page on false positives from security tools

* Incorporating feedback

* Updating the security page (flutter#124)

* Adding a page on false positives from security tools

* Updating the security page and adding a link to the new false security errors page.

* Bump examples/codelabs from `57bed10` to `fa74033` (flutter#121)

Bumps [examples/codelabs](https://github.com/flutter/codelabs) from `57bed10` to `fa74033`.
- [Release notes](https://github.com/flutter/codelabs/releases)
- [Commits](flutter/codelabs@57bed10...fa74033)

---
updated-dependencies:
- dependency-name: examples/codelabs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump googleapis from 9.2.0 to 10.0.0 in /examples/googleapis (flutter#123)

Bumps [googleapis](https://github.com/google/googleapis.dart/tree/master/generated) from 9.2.0 to 10.0.0.
- [Release notes](https://github.com/google/googleapis.dart/releases)
- [Commits](https://github.com/google/googleapis.dart/commits/googleapis-v10.0.0/generated)

---
updated-dependencies:
- dependency-name: googleapis
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github/codeql-action from 2.1.38 to 2.1.39 (flutter#127)

* Update activesupport and nokogiri (flutter#126)

* Remove duplicated false positives page (flutter#125)

* Bump examples/codelabs from `fa74033` to `2adc98c` (flutter#128)

Bumps [examples/codelabs](https://github.com/flutter/codelabs) from `fa74033` to `2adc98c`.
- [Release notes](https://github.com/flutter/codelabs/releases)
- [Commits](flutter/codelabs@fa74033...2adc98c)

---
updated-dependencies:
- dependency-name: examples/codelabs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Thoroughly update and categorize codelabs page (flutter#129)

Add new codelabs and categorize the 'Codelabs & workshops' page.

Co-authored-by: Parker Lougheed <[email protected]>

* Updating info about bitcode (flutter#130)

* Adding a page on false positives from security tools

* Thorough update of the codelabs page.

* Updating bitcode info for iOS

* Incorporating feedback and fixing build

* Revert "Adding a page on false positives from security tools"

This reverts commit cd401f4.

* Revert "Thorough update of the codelabs page."

This reverts commit b79b8d0.

* Removing bitcode image

Co-authored-by: Parker Lougheed <[email protected]>

* Bump examples/codelabs from `2adc98c` to `d48179d` (flutter#131)

Bumps [examples/codelabs](https://github.com/flutter/codelabs) from `2adc98c` to `d48179d`.
- [Release notes](https://github.com/flutter/codelabs/releases)
- [Commits](flutter/codelabs@2adc98c...d48179d)

---
updated-dependencies:
- dependency-name: examples/codelabs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pigeon in /examples/development/platform_integration (flutter#132)

Bumps [pigeon](https://github.com/flutter/packages/tree/main/packages) from 6.0.3 to 7.0.0.
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/pigeon-v7.0.0/packages)

---
updated-dependencies:
- dependency-name: pigeon
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Documents new web initialization config. (flutter#133)

* Document new web initialization.

* Attempt to correctly render tables in github.

* Fix table definition (3 cols)

* Apply suggestions from code review

Co-authored-by: Shams Zakhour (ignore Sfshaza) <[email protected]>

Co-authored-by: Shams Zakhour (ignore Sfshaza) <[email protected]>

* Bump examples/codelabs from `d48179d` to `967b87a` (flutter#137)

* Bump jekyll from 4.3.1 to 4.3.2 (flutter#139)

Bumps [jekyll](https://github.com/jekyll/jekyll) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/jekyll/jekyll/releases)
- [Changelog](https://github.com/jekyll/jekyll/blob/master/History.markdown)
- [Commits](jekyll/jekyll@v4.3.1...v4.3.2)

---
updated-dependencies:
- dependency-name: jekyll
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump jekyll-toc from 0.17.1 to 0.18.0 (flutter#138)

Bumps [jekyll-toc](https://github.com/toshimaru/jekyll-toc) from 0.17.1 to 0.18.0.
- [Release notes](https://github.com/toshimaru/jekyll-toc/releases)
- [Commits](toshimaru/jekyll-toc@v0.17.1...v0.18.0)

---
updated-dependencies:
- dependency-name: jekyll-toc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Background isolate channels (flutter#140)

* Updated the platform channels documentation to show how to use plugins and platform channels from background isolate.

* Update src/development/platform-integration/platform-channels.md

Co-authored-by: Shams Zakhour (ignore Sfshaza) <[email protected]>

Co-authored-by: Shams Zakhour (ignore Sfshaza) <[email protected]>

* Add a blockquote style for new 'Security false positives' page (flutter#141)

* Add a new check_link_references exception for release notes (flutter#142)

* Add a new check_link_references exception

* Adjust code comments

* Remove release notes used for testing

* Use full code block for 'Testing accessibility on web' command (flutter#143)

This allows for syntax highlighting and easy copying of the command.

* updating the Whats new in 3.7 page (flutter#134)

* Updating for the 3.7 release

* Adding another update

* Fixing a typo

* Updating the what's new page for 3.7

* Fix unclosed comment

* Fix Impeller GitHub Wiki link reference

Co-authored-by: Parker Lougheed <[email protected]>

* 3.7.0 release notes (flutter#136)

* [WIP] 3.7.0 release notes

* Update medium link

Update medium link to include flutter 3.7

* Fix broken medium link

Co-authored-by: Shams Zakhour (ignore Sfshaza) <[email protected]>

* News toolkit page (flutter#135)

* Stashing the in-progress news toolkit page

* Stashing the news toolkit page

* Tweaking, as per Zoey's instructions

* Fix toolkit docs link reference

Co-authored-by: Parker Lougheed <[email protected]>

* Update the videos page (flutter#144)

* Adding a page on false positives from security tools

* Thorough update of the codelabs page.

* Stashing changes until I get more info

* Update the videos page for 3.7

* Remove sidenav change

* Delete security-false-positives.md

* link learning to fly s2e1

Co-authored-by: Khanh Nguyen <[email protected]>

* Bump examples/codelabs from `967b87a` to `a6b830b` (flutter#145)

* Updating banner to check to livestream (flutter#147)

* Removing unpublished articles (flutter#146)

* Bump flutter from `135454a` to `b06b8b2` (flutter#148)

Bumps [flutter](https://github.com/flutter/flutter) from `135454a` to `b06b8b2`.
- [Release notes](https://github.com/flutter/flutter/releases)
- [Commits](flutter/flutter@135454a...b06b8b2)

---
updated-dependencies:
- dependency-name: flutter
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix build.yml

* Remove Python from CodeQL analysis

* Remove extra branch specifiers from link check workflow

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: John Ryan <[email protected]>
Co-authored-by: Khanh Nguyen <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Loïc Sharma <[email protected]>
Co-authored-by: Loic Sharma <[email protected]>
Co-authored-by: Mitchell Goodwin <[email protected]>
Co-authored-by: Anthony Sansone <[email protected]>
Co-authored-by: Shams Zakhour (ignore Sfshaza) <[email protected]>
Co-authored-by: David Iglesias <[email protected]>
Co-authored-by: gaaclarke <[email protected]>
Co-authored-by: Kevin Chisholm <[email protected]>
Co-authored-by: Khanh Nguyen <[email protected]>
  • Loading branch information
13 people authored Jan 26, 2023
1 parent edbd5c1 commit 8664546
Show file tree
Hide file tree
Showing 96 changed files with 2,471 additions and 679 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
*.html linguist-detectable=false
*.html linguist-documentation=false

# Allow dart files in examples/ to be detectable
examples/**/*.dart -linguist-documentation
9 changes: 6 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
**IMPORTANT:** Due to work on the docs.flutter.dev infrastructure, this repo is **not accepting pull requests**.
_Description of what this PR is changing or adding, and why:_

Instead of creating a PR, please file an issue (https://github.com/flutter/website/issues/new/choose) about the needed change.
_Issues fixed by this PR (if any):_

We expect to start accepting PRs again the week of January 24th.
## Presubmit checklist
- [ ] This PR doesn’t contain automatically generated corrections (Grammarly or similar).
- [ ] This PR follows the [Google Developer Documentation Style Guidelines](https://developers.google.com/style) — for example, it doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [ ] This PR uses [semantic line breaks](https://github.com/dart-lang/site-shared/blob/master/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks) of 80 characters or fewer.
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'javascript', 'python', 'ruby' ]
language: [ 'javascript', 'ruby' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

Expand All @@ -33,7 +33,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@959cbb7472c4d4ad70cdfe6f4976053fe48ab394
uses: github/codeql-action/init@a34ca99b4610d924e04c68db79e503e1f79f9f02
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -44,7 +44,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@959cbb7472c4d4ad70cdfe6f4976053fe48ab394
uses: github/codeql-action/autobuild@a34ca99b4610d924e04c68db79e503e1f79f9f02

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -58,4 +58,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@959cbb7472c4d4ad70cdfe6f4976053fe48ab394
uses: github/codeql-action/analyze@a34ca99b4610d924e04c68db79e503e1f79f9f02
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Validate link references in built HTML
name: Check links and link references

on:
push:
Expand All @@ -18,9 +18,5 @@ jobs:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
with:
submodules: "recursive"
- name: Build
run: make build
- uses: actions/setup-python@5ccb29d8773c3f3f653e1705f474dfaa8a06a912
with:
python-version: "3.x"
- run: python tool/check_link_references.py
- name: Build and check links
run: make build # Runs tool/check-links.sh as part of build
2 changes: 1 addition & 1 deletion .github/workflows/scorecards-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@959cbb7472c4d4ad70cdfe6f4976053fe48ab394
uses: github/codeql-action/upload-sarif@a34ca99b4610d924e04c68db79e503e1f79f9f02
with:
sarif_file: results.sarif
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
FROM ruby:3.1.3-buster@sha256:0c11f1c83646da663bbf0be421d6e3536c49b7d792d2d7d5dcbe31db65a7fe09 AS base
FROM ruby:3.2-0-slim-bullseye@sha256:8fa9d24fc80b48ba9dd2223b4e8c8ffaa2fbc4d5f63e5f8028e5d047a3aa7b55 AS base

ENV TZ=US/Pacific
RUN apt-get update && apt-get install -yq --no-install-recommends \
apt-transport-https \
build-essential \
ca-certificates \
curl \
diffutils \
git \
lsof \
make \
unzip \
vim-nox \
xdg-user-dirs \
&& rm -rf /var/lib/apt/lists/*
Expand Down
5 changes: 3 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
source 'https://rubygems.org'

gem 'jekyll', '4.3.1'
gem 'jekyll', '4.3.2'
gem 'jekyll-sass-converter', '~> 2.2.0'
gem 'webrick'

# Used for custom _plugins
Expand All @@ -9,5 +10,5 @@ gem 'liquid-tag-parser', '~> 2.0.2'

group :jekyll_plugins do
gem 'jekyll-include-cache', '~> 0.2.1'
gem 'jekyll-toc', '~> 0.17.1'
gem 'jekyll-toc', '~> 0.18.0'
end
37 changes: 19 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (7.0.4)
activesupport (7.0.4.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
Expand All @@ -21,7 +21,7 @@ GEM
http_parser.rb (0.8.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
jekyll (4.3.1)
jekyll (4.3.2)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
Expand All @@ -41,49 +41,49 @@ GEM
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (2.2.0)
sassc (> 2.0.1, < 3.0)
jekyll-toc (0.17.1)
jekyll-toc (0.18.0)
jekyll (>= 3.9)
nokogiri (~> 1.11)
nokogiri (~> 1.12)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
liquid (4.0.4)
liquid-tag-parser (2.0.2)
extras (~> 0.3)
liquid (>= 3.0, < 5.0)
listen (3.7.1)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
mini_portile2 (2.8.0)
minitest (5.16.3)
nokogiri (1.13.10)
mini_portile2 (2.8.1)
minitest (5.17.0)
nokogiri (1.14.0)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
nokogiri (1.13.10-aarch64-linux)
nokogiri (1.14.0-aarch64-linux)
racc (~> 1.4)
nokogiri (1.13.10-x86_64-linux)
nokogiri (1.14.0-x86_64-linux)
racc (~> 1.4)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.0)
racc (1.6.1)
public_suffix (5.0.1)
racc (1.6.2)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (4.0.0)
rouge (4.0.1)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
tzinfo (2.0.5)
concurrent-ruby (~> 1.0)
unicode-display_width (2.3.0)
unicode-display_width (2.4.2)
webrick (1.7.0)

PLATFORMS
Expand All @@ -93,11 +93,12 @@ PLATFORMS

DEPENDENCIES
activesupport (~> 7.0.4)
jekyll (= 4.3.1)
jekyll (= 4.3.2)
jekyll-include-cache (~> 0.2.1)
jekyll-toc (~> 0.17.1)
jekyll-sass-converter (~> 2.2.0)
jekyll-toc (~> 0.18.0)
liquid-tag-parser (~> 2.0.2)
webrick

BUNDLED WITH
2.3.12
2.4.4
2 changes: 1 addition & 1 deletion examples/codelabs
Submodule codelabs updated 1201 files
2 changes: 1 addition & 1 deletion examples/cookbook/design/orientation/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class OrientationList extends StatelessWidget {
return Center(
child: Text(
'Item $index',
style: Theme.of(context).textTheme.headline1,
style: Theme.of(context).textTheme.displayLarge,
),
);
}),
Expand Down
8 changes: 4 additions & 4 deletions examples/cookbook/design/themes/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class MyApp extends StatelessWidget {
// Define the default `TextTheme`. Use this to specify the default
// text styling for headlines, titles, bodies of text, and more.
textTheme: const TextTheme(
headline1: TextStyle(fontSize: 72.0, fontWeight: FontWeight.bold),
headline6: TextStyle(fontSize: 36.0, fontStyle: FontStyle.italic),
bodyText2: TextStyle(fontSize: 14.0, fontFamily: 'Hind'),
displayLarge: TextStyle(fontSize: 72.0, fontWeight: FontWeight.bold),
titleLarge: TextStyle(fontSize: 36.0, fontStyle: FontStyle.italic),
bodyMedium: TextStyle(fontSize: 14.0, fontFamily: 'Hind'),
),
),
home: const MyHomePage(
Expand Down Expand Up @@ -55,7 +55,7 @@ class MyHomePage extends StatelessWidget {
color: Theme.of(context).colorScheme.secondary,
child: Text(
'Text with a background color',
style: Theme.of(context).textTheme.headline6,
style: Theme.of(context).textTheme.titleLarge,
),
),
// #enddocregion Container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ButtonShapeWidget extends StatelessWidget {
child: Text(
isDownloaded ? 'OPEN' : 'GET',
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.button?.copyWith(
style: Theme.of(context).textTheme.labelLarge?.copyWith(
fontWeight: FontWeight.bold,
color: CupertinoColors.activeBlue,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ButtonShapeWidget extends StatelessWidget {
child: Text(
isDownloaded ? 'OPEN' : 'GET',
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.button?.copyWith(
style: Theme.of(context).textTheme.labelLarge?.copyWith(
fontWeight: FontWeight.bold,
color: CupertinoColors.activeBlue,
),
Expand Down
6 changes: 3 additions & 3 deletions examples/cookbook/effects/download_button/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ class _ExampleCupertinoDownloadButtonState
title: Text(
'App ${index + 1}',
overflow: TextOverflow.ellipsis,
style: theme.textTheme.headline6,
style: theme.textTheme.titleLarge,
),
subtitle: Text(
'Lorem ipsum dolor #${index + 1}',
overflow: TextOverflow.ellipsis,
style: theme.textTheme.caption,
style: theme.textTheme.bodySmall,
),
trailing: SizedBox(
width: 96,
Expand Down Expand Up @@ -357,7 +357,7 @@ class ButtonShapeWidget extends StatelessWidget {
child: Text(
isDownloaded ? 'OPEN' : 'GET',
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.button?.copyWith(
style: Theme.of(context).textTheme.labelLarge?.copyWith(
fontWeight: FontWeight.bold,
color: CupertinoColors.activeBlue,
),
Expand Down
2 changes: 1 addition & 1 deletion examples/cookbook/effects/download_button/lib/spinner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class ButtonShapeWidget extends StatelessWidget {
child: Text(
isDownloaded ? 'OPEN' : 'GET',
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.button?.copyWith(
style: Theme.of(context).textTheme.labelLarge?.copyWith(
fontWeight: FontWeight.bold,
color: CupertinoColors.activeBlue,
),
Expand Down
2 changes: 1 addition & 1 deletion examples/cookbook/effects/download_button/lib/stop.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class ButtonShapeWidget extends StatelessWidget {
child: Text(
isDownloaded ? 'OPEN' : 'GET',
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.button?.copyWith(
style: Theme.of(context).textTheme.labelLarge?.copyWith(
fontWeight: FontWeight.bold,
color: CupertinoColors.activeBlue,
),
Expand Down
12 changes: 6 additions & 6 deletions examples/cookbook/effects/drag_a_widget/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class _ExampleDragAndDropState extends State<ExampleDragAndDrop>
iconTheme: const IconThemeData(color: Color(0xFFF64209)),
title: Text(
'Order Food',
style: Theme.of(context).textTheme.headline4?.copyWith(
style: Theme.of(context).textTheme.headlineMedium?.copyWith(
fontSize: 36,
color: const Color(0xFFF64209),
fontWeight: FontWeight.bold,
Expand Down Expand Up @@ -241,7 +241,7 @@ class CustomerCart extends StatelessWidget {
const SizedBox(height: 8.0),
Text(
customer.name,
style: Theme.of(context).textTheme.subtitle1?.copyWith(
style: Theme.of(context).textTheme.titleMedium?.copyWith(
color: textColor,
fontWeight:
hasItems ? FontWeight.normal : FontWeight.bold,
Expand All @@ -257,7 +257,7 @@ class CustomerCart extends StatelessWidget {
const SizedBox(height: 4.0),
Text(
customer.formattedTotalItemPrice,
style: Theme.of(context).textTheme.caption!.copyWith(
style: Theme.of(context).textTheme.bodySmall!.copyWith(
color: textColor,
fontSize: 16.0,
fontWeight: FontWeight.bold,
Expand All @@ -266,7 +266,7 @@ class CustomerCart extends StatelessWidget {
const SizedBox(height: 4.0),
Text(
'${customer.items.length} item${customer.items.length != 1 ? 's' : ''}',
style: Theme.of(context).textTheme.subtitle1!.copyWith(
style: Theme.of(context).textTheme.titleMedium!.copyWith(
color: textColor,
fontSize: 12.0,
),
Expand Down Expand Up @@ -332,14 +332,14 @@ class MenuListItem extends StatelessWidget {
children: [
Text(
name,
style: Theme.of(context).textTheme.subtitle1?.copyWith(
style: Theme.of(context).textTheme.titleMedium?.copyWith(
fontSize: 18.0,
),
),
const SizedBox(height: 10.0),
Text(
price,
style: Theme.of(context).textTheme.subtitle1?.copyWith(
style: Theme.of(context).textTheme.titleMedium?.copyWith(
fontWeight: FontWeight.bold,
fontSize: 18.0,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class SelectDevicePage extends StatelessWidget {
children: [
Text(
'Select a nearby device:',
style: Theme.of(context).textTheme.headline6,
style: Theme.of(context).textTheme.titleLarge,
),
const SizedBox(height: 24),
SizedBox(
Expand Down
2 changes: 1 addition & 1 deletion examples/cookbook/effects/nested_nav/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class SelectDevicePage extends StatelessWidget {
children: [
Text(
'Select a nearby device:',
style: Theme.of(context).textTheme.headline6,
style: Theme.of(context).textTheme.titleLarge,
),
const SizedBox(height: 24),
SizedBox(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class SelectDevicePage extends StatelessWidget {
children: [
Text(
'Select a nearby device:',
style: Theme.of(context).textTheme.headline6,
style: Theme.of(context).textTheme.titleLarge,
),
const SizedBox(height: 24),
SizedBox(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ class LocationListItem extends StatelessWidget {
);
}
}
// #enddocregion LocationListItem
// #enddocregion LocationListItem
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class LocationListItem extends StatelessWidget {
Widget _buildParallaxBackground(BuildContext context) {
return Flow(
delegate: ParallaxFlowDelegate(
scrollable: Scrollable.of(context)!,
scrollable: Scrollable.of(context),
listItemContext: context,
backgroundImageKey: _backgroundImageKey,
),
Expand Down
Loading

0 comments on commit 8664546

Please sign in to comment.