Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sync] 2024/07/03 #1463

Merged
merged 87 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
09041fb
Updating the codelabs page (#10687)
sfshaza2 Jun 1, 2024
7236fc1
Update old wiki links (#10689)
Piinks Jun 1, 2024
16a74d5
Fixes. slash issue in uninstall page (#10692)
droidbg Jun 2, 2024
791e8f1
Bump site-shared from `777996f` to `d50b058` (#10693)
dependabot[bot] Jun 3, 2024
c83ac9d
Bump examples/codelabs from `0054456` to `9fb3fa0` (#10694)
dependabot[bot] Jun 3, 2024
fcf869e
Bump github/codeql-action from 3.25.6 to 3.25.7 (#10695)
dependabot[bot] Jun 3, 2024
ca5a85f
adds flutter.dev/go/routing-table-extraction (#10698)
chunhtai Jun 3, 2024
b6af707
Clarifying "importantState". (#10697)
sfshaza2 Jun 3, 2024
38c90af
Fix spelling mistake on restorable state (#10702)
mattsolle Jun 4, 2024
551ffcc
Optimize images as part of production builds (#10391)
parlough Jun 5, 2024
726d070
Fix a few image sizing issues (#10708)
parlough Jun 5, 2024
9439f2d
Bump examples/codelabs from `9fb3fa0` to `c0a9893` (#10709)
dependabot[bot] Jun 5, 2024
2da40bd
Bump github/codeql-action from 3.25.7 to 3.25.8 (#10710)
dependabot[bot] Jun 5, 2024
bd53311
Fix text alignment with respect to video (#10711)
thisisjaymehta Jun 5, 2024
0799166
Fixes PATH variance, filename replacement script (#10706)
atsansone Jun 6, 2024
e82c589
[web] Change `--web-renderer` default from `auto` to `canvaskit` (#10…
mdebbar Jun 6, 2024
4e2cb1f
Update video_player compatibility (#10701)
rekire Jun 6, 2024
492a5f9
FWE Fundamentals V2 (#10715)
ericwindmill Jun 6, 2024
6a9a66b
Adjustments after default renderer text merged too early (#10717)
parlough Jun 6, 2024
a9e3e5d
Add PR template section about not yet stable changes (#10718)
parlough Jun 7, 2024
64d4178
Fixes an incorrect sub title in set up universal link cookbook (#10724)
chunhtai Jun 7, 2024
d807ee4
Fix special key omission on Get Started/Test Drive page (#10721)
kimtaejin3 Jun 10, 2024
3cec8f0
Fix link to GitLab CI (#10735)
LinXunFeng Jun 11, 2024
058dde3
Update banner.html to announce the Q2 survey (#10731)
jayoung-lee Jun 11, 2024
70c3a38
Fix formatting of card-contained images (#10732)
parlough Jun 11, 2024
ec29ff6
Fix `getOS` for all operating systems (#10737)
PondWader Jun 12, 2024
4b86840
Update dart-devtools-survey-metadata.json for Q2-2024 DevTools Survey…
kenzieschmoll Jun 12, 2024
394e020
Add `/go/layered-material-widgets` design doc redirect (#10741)
nate-thegrate Jun 12, 2024
e737661
Bump examples/codelabs from `c0a9893` to `b12b6e9` (#10743)
dependabot[bot] Jun 13, 2024
a686b88
Bump github/codeql-action from 3.25.8 to 3.25.9 (#10744)
dependabot[bot] Jun 13, 2024
3ef62ca
Bump actions/checkout from 4.1.6 to 4.1.7 (#10745)
dependabot[bot] Jun 13, 2024
c734b3d
Fix code example (#10746)
atsansone Jun 13, 2024
11db2c4
Bump examples/codelabs from `b12b6e9` to `70fe642` (#10748)
dependabot[bot] Jun 14, 2024
605f2e0
Bump github/codeql-action from 3.25.9 to 3.25.10 (#10747)
dependabot[bot] Jun 14, 2024
f150855
Add go link for flutter.dev/go/devtools-discoverability-in-vs-code (#…
kenzieschmoll Jun 14, 2024
2d1bd6f
Bump examples/codelabs from `70fe642` to `42192df` (#10753)
dependabot[bot] Jun 17, 2024
d506c77
Adds video, fixes structure to iOS project setup page (#10699)
atsansone Jun 17, 2024
5576831
Remove Q2 survey from the banner (#10756)
jayoung-lee Jun 17, 2024
efbf5a4
Add pub.dev filter to Wasm page (#10758)
MaryaBelanger Jun 17, 2024
d2c35f4
Update cookie banner text (#10757)
parlough Jun 18, 2024
715ac86
Update npm deps including 11ty serving fixes (#10761)
parlough Jun 18, 2024
30aea0f
Disable image optimization pipeline due to issues with animations (#1…
parlough Jun 19, 2024
fde9d6a
Prevent text wrap on cookie notice button (#10763)
parlough Jun 19, 2024
404d66a
Adding tooling links using new `/to/` format (#10765)
parlough Jun 19, 2024
297ac02
Add scroll-margin-top to headers (#10764)
parlough Jun 19, 2024
962872d
Fix rendering error on Flutter in China page (#10766)
parlough Jun 20, 2024
4e162bd
Add and fix more tooling redirects (#10767)
parlough Jun 20, 2024
2085dee
Adjust web init doc setup to prefer now-stable method (#10768)
parlough Jun 20, 2024
851815a
Add and fix a few more `/to/` links for Flutter tool (#10772)
parlough Jun 21, 2024
2e13345
Add go link for Q2 2024 DevIntel (#10777)
ericwindmill Jun 21, 2024
ae5d0d8
Update Linux pre-req packages (#10771)
atsansone Jun 21, 2024
1b0bbe0
Delete obsolete survey metadata file (#10782)
kenzieschmoll Jun 21, 2024
39e0e98
Adding deprecation notice (#10783)
sfshaza2 Jun 21, 2024
c4ce48b
Fixed Swift nil ref (#10779)
atsansone Jun 21, 2024
00bcdc7
Add explanation for what deep links are (#10770)
mit-mit Jun 23, 2024
a951b41
Modified "add flutter to path"'s bash instructions to work for non-lo…
Aron-Lomner Jun 24, 2024
1b530af
Fix typo on "Integration testing concepts" page (#10788)
incendial Jun 24, 2024
1f4e7c0
Tiny update architectural-overview.md (#10784)
fzyzcjy Jun 24, 2024
2a696bb
Migrate to new, simplified code excerpt tool (#10785)
parlough Jun 24, 2024
038032a
Bump dart-lang/setup-dart from 1.6.4 to 1.6.5 (#10795)
dependabot[bot] Jun 25, 2024
a04d27b
Reorganize 11ty filter registration (#10794)
parlough Jun 25, 2024
e49cd20
Adding info about initializing code in your app (#10792)
sfshaza2 Jun 25, 2024
746ed1f
Fix incorrect keytool command for PowerShell in Android deployment do…
doew Jun 25, 2024
50d53da
Add titles to all DartPads (#10799)
atsansone Jun 26, 2024
6f341c6
Add note about separate Dart installations (#10803)
abitofevrything Jun 26, 2024
413beb7
Add FCM codelab to Flutter docs codelabs (#10801)
LimaneGaya Jun 26, 2024
4d3d52f
Implement and migrate to a shortcode-controlled, tabbed interface (#1…
parlough Jun 26, 2024
8d8a579
Add skip to main content link (#10800)
atsansone Jun 26, 2024
a353da1
Updated Gradle info (#10791)
atsansone Jun 26, 2024
b5feaad
[macOS] Update sidebar title for dart:ffi interop (#10816)
cbracken Jun 27, 2024
17a72bc
Bump site-shared from `d50b058` to `d79a7a2` (#10817)
dependabot[bot] Jun 27, 2024
6aea013
Update other references to web initialization customization (#10819)
parlough Jun 27, 2024
bcbe041
Update links to engine wiki docs (#10804)
matanlurey Jun 27, 2024
61e03a1
Bump site-shared from `d79a7a2` to `67c3c9a` (#10824)
dependabot[bot] Jun 28, 2024
2038a88
Fix link on the Get started → First week → Networking page (#10825)
liamnewmarch Jun 28, 2024
f2c56ae
Corrected 2nd example in Step 3 (#10818)
atsansone Jun 28, 2024
bb2212a
remove redundant callout/link to "Transforming assets at build time" …
andrewkolos Jul 1, 2024
1a97121
add breadcrumb about flavor-conditional asset bundling to assets page…
andrewkolos Jul 1, 2024
0bee08d
Bump examples/codelabs from `42192df` to `ec712d2` (#10829)
dependabot[bot] Jul 1, 2024
7017c8a
Bump github/codeql-action from 3.25.10 to 3.25.11 (#10828)
dependabot[bot] Jul 1, 2024
c519544
Bump site-shared from `67c3c9a` to `43ee194` (#10832)
dependabot[bot] Jul 2, 2024
f914e5e
Fix typo (#10831)
mumu-lhl Jul 2, 2024
1783635
Remove unused snackbar logic and styles (#10835)
parlough Jul 3, 2024
c70f9a9
Fix sizing of X svg (#10836)
parlough Jul 3, 2024
0a19768
Add missing Cupertino widgets to the widget library (#10830)
sfshaza2 Jul 3, 2024
160a0e9
Sync: 2024/07/03
AmosHuKe Jul 3, 2024
ab8e6dd
Fix: Link
AmosHuKe Jul 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
experimental: false
continue-on-error: ${{ matrix.experimental }}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: recursive
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
Expand All @@ -55,16 +55,16 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'cfug/flutter.cn'
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: recursive
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: stable
- name: Fetch Dart dependencies
run: dart pub get
- name: Check if excerpts are up to date
run: dart run flutter_site refresh-excerpts --fail-on-update
run: dart run flutter_site refresh-excerpts --fail-on-update --dry-run
continue-on-error: ${{ matrix.experimental }}

linkcheck:
Expand All @@ -73,7 +73,7 @@ jobs:
if: |
github.repository == 'cfug/flutter.cn'
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: recursive
- name: Enable Corepack
Expand All @@ -86,7 +86,7 @@ jobs:
run: corepack install
- name: Install node dependencies
run: pnpm install --frozen-lockfile
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: stable
- name: Fetch Dart dependencies
Expand All @@ -106,10 +106,10 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'cfug/flutter.cn'
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: recursive
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: stable
- name: Fetch Dart dependencies
Expand All @@ -126,7 +126,7 @@ jobs:
github.ref == 'refs/heads/main' &&
github.repository == 'cfug/flutter.cn'
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: recursive
- name: Enable Corepack
Expand All @@ -139,7 +139,7 @@ jobs:
run: corepack install
- name: Install node dependencies
run: pnpm install --frozen-lockfile
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: stable
- name: Fetch Dart dependencies
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/compile_host_redirect_js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
add-paths: |
./src/content/assets/js/host-redirect.min.js
title: '[🤖bot] Update: host-redirect.min.js'
body: 'GitHub Action: [.github/workflows/compile_host_redirect_js.yml](https://github.com/cfug/flutter.cn/blob/main/.github/workflows/compile_host_redirect_js.yml)'
committer: 'cfug-dev <[email protected]>'
commit-message: '[🤖bot] Update: host-redirect.min.js'
branch-suffix: timestamp
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.head.repo.full_name == 'cfug/flutter.cn' }}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: recursive
- name: Enable Corepack
Expand All @@ -33,7 +33,7 @@ jobs:
run: corepack install
- name: Install node dependencies
run: pnpm install --frozen-lockfile
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: stable
- name: Fetch Dart dependencies
Expand Down
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ Hidenori Matsubayashi <[email protected]>
Pradumna Saraf <[email protected]>
Alex Li <[email protected]>
Parker Lougheed <[email protected]>
LinXunFeng <[email protected]>
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ Happy Fluttering!
[doc-PRs]: https://github.com/flutter/website/pulls
[so]: https://stackoverflow.com/tags/flutter
[mailinglist]: https://groups.google.com/d/forum/flutter-dev
[chat]: https://github.com/flutter/flutter/wiki/Chat
[chat]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
[reddit]: https://www.reddit.com/r/FlutterDev
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,23 +293,28 @@ and we'll try our best to help you.
You can also chat with us on the `#hackers-devrel` channel
on the [Flutter contributors Discord][]!

[Flutter contributors Discord]: https://github.com/flutter/flutter/wiki/Chat
[Flutter contributors Discord]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md

### Refresh code excerpts

A build that fails with the error
`Error: Some code excerpts needed to be updated!`
means that one or more code excerpts in the markdown file
aren't identical to the
code in the corresponding `.dart` file.
means that one or more code excerpts in the site Markdown files
aren't identical to the code regions declared
in the corresponding `.dart` files.

To resolve this error,
The `.dart` files are the source of truth for code snippets,
and the preceding `<?code-excerpt>` instructions in Markdown files specify
how the snippets are copied from the `.dart` files.

To resolve this error and update the Markdown snippets to match,
from the root of the `website` directory,
run `./dash_site refresh-excerpts`.

For more information see [Code excerpts][] .
To learn more about creating, editing, and using code excerpts,
check out the [excerpt updater package documentation][].

[Code excerpts]: https://github.com/dart-lang/site-shared/blob/main/doc/code-excerpts.md
[excerpt updater package documentation]: https://github.com/dart-lang/site-shared/tree/main/packages/excerpter#readme

## [Optional] Deploy to a staging site

Expand Down
23 changes: 0 additions & 23 deletions build.excerpt.yaml

This file was deleted.

79 changes: 7 additions & 72 deletions eleventy.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
// It configures the core 11ty behavior and registers
// plugins and customization that live in `/src/_11ty`.

import {
activeNavForPage,
arrayToSentenceString,
breadcrumbsForPage,
generateToc,
regexReplace,
toISOString,
} from './src/_11ty/filters.js';
import { registerFilters } from './src/_11ty/filters.js';
import { registerShortcodes } from './src/_11ty/shortcodes.js';
import { markdown } from './src/_11ty/plugins/markdown.js';
import { configureHighlighting } from './src/_11ty/plugins/highlight.js';

Expand All @@ -27,6 +21,7 @@ import * as sass from 'sass';
*/
export default function (eleventyConfig) {
const isProduction = process.env.PRODUCTION === 'true';
const shouldOptimize = process.env.OPTIMIZE === 'true';

eleventyConfig.on('eleventy.before', async () => {
await configureHighlighting(markdown);
Expand All @@ -49,68 +44,8 @@ export default function (eleventyConfig) {

eleventyConfig.addPlugin(EleventyRenderPlugin);

let _currentTabsTitle = '';
let _currentTabIsActive = false;

// TODO(parlough): Replace samplecode with something easier.
eleventyConfig.addShortcode('samplecode', function (tabsTitle, tabsString) {
_currentTabsTitle = tabsTitle.toLowerCase();
let tabMarkup = `<ul class="nav nav-tabs sample-code-tabs" id="${_currentTabsTitle}-language" role="tablist">`;

let activeTab = true;
_currentTabIsActive = true;

const tabs = tabsString.split(',').map((tab) => tab.trim());
tabs.forEach((tabName) => {
const tabId = `${_currentTabsTitle}-${tabName.toLowerCase().replaceAll("+", "-plus")}`;
tabMarkup += `<li class="nav-item">
<a class="nav-link ${activeTab ? "active" : ""}" id="${tabId}-tab" href="#${tabId}" role="tab" aria-controls="${tabId}" aria-selected="true">${tabName}</a>
</li>`;
activeTab = false;
});

tabMarkup += `</ul><div class="tab-content">
`;
return tabMarkup;
});

eleventyConfig.addShortcode('endsamplecode', function () {
return `</div>`
});

eleventyConfig.addPairedShortcode('sample', function (content, tabName) {
const tabId = `${_currentTabsTitle}-${tabName.toLowerCase().replaceAll("+", "-plus")}`;
const tabContent = `<div class="tab-pane ${_currentTabIsActive ? "active" : ""}" id="${tabId}" role="tabpanel" aria-labelledby="${tabId}-tab">

${content}

</div>
`;

_currentTabIsActive = false;

return tabContent;
});

// TODO(parlough): Make this more generic.
eleventyConfig.addFilter('children_pages', function (pages, pageUrl) {
return pages.filter((page) => page.url.includes(pageUrl) && page.url !== pageUrl);
});

// TODO(parlough): Make this more generic.
eleventyConfig.addFilter('widget_filter', function (widgets, field, subName) {
return widgets.filter((comp) => comp[field]?.includes(subName) ?? false);
});

eleventyConfig.addFilter('regex_replace', regexReplace);
eleventyConfig.addFilter('toISOString', toISOString);
eleventyConfig.addFilter('active_nav_for_page', activeNavForPage);
eleventyConfig.addFilter('array_to_sentence_string', arrayToSentenceString);
eleventyConfig.addFilter('throw_error', function (error) {
throw new Error(error);
});
eleventyConfig.addFilter('generate_toc', generateToc);
eleventyConfig.addFilter('breadcrumbsForPage', breadcrumbsForPage);
registerFilters(eleventyConfig);
registerShortcodes(eleventyConfig);

eleventyConfig.addTemplateFormats('scss');
eleventyConfig.addWatchTarget('src/_sass');
Expand All @@ -123,7 +58,7 @@ ${content}
}

const result = sass.compileString(inputContent, {
style: isProduction ? 'compressed' : 'expanded',
style: shouldOptimize ? 'compressed' : 'expanded',
quietDeps: true,
loadPaths: [parsedPath.dir, 'src/_sass'],
});
Expand Down Expand Up @@ -156,7 +91,7 @@ ${content}
filter: (path) => path.includes('src') || path.includes('images'),
});

if (isProduction) {
if (shouldOptimize) {
// If building for production, minify/optimize the HTML output.
// Doing so during serving isn't worth the extra build time.
eleventyConfig.addTransform('minify-html', async function (content) {
Expand Down
1 change: 1 addition & 0 deletions examples/animation/animate3/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,4 @@ class _LogoAppState extends State<LogoApp> with SingleTickerProviderStateMixin {
}
// #docregion print-state
}
// #enddocregion print-state
11 changes: 6 additions & 5 deletions examples/animation/animate4/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import 'package:flutter/material.dart';

void main() => runApp(const LogoApp());

// #docregion LogoWidget
// #docregion logo-widget
class LogoWidget extends StatelessWidget {
const LogoWidget({super.key});

// Leave out the height and width so it fills the animating parent
// Leave out the height and width so it fills the animating parent.
@override
Widget build(BuildContext context) {
return Container(
Expand All @@ -15,9 +15,9 @@ class LogoWidget extends StatelessWidget {
);
}
}
// #enddocregion LogoWidget
// #enddocregion logo-widget

// #docregion GrowTransition
// #docregion grow-transition
class GrowTransition extends StatelessWidget {
const GrowTransition(
{required this.child, required this.animation, super.key});
Expand All @@ -42,7 +42,7 @@ class GrowTransition extends StatelessWidget {
);
}
}
// #enddocregion GrowTransition
// #enddocregion grow-transition

class LogoApp extends StatefulWidget {
const LogoApp({super.key});
Expand Down Expand Up @@ -81,3 +81,4 @@ class _LogoAppState extends State<LogoApp> with SingleTickerProviderStateMixin {
}
// #docregion print-state
}
// #enddocregion print-state
4 changes: 2 additions & 2 deletions examples/animation/animate5/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ class _LogoAppState extends State<LogoApp> with SingleTickerProviderStateMixin {
@override
void initState() {
super.initState();
// #docregion AnimationController, tweens
// #docregion animation-controller, tweens
controller =
AnimationController(duration: const Duration(seconds: 2), vsync: this);
// #enddocregion AnimationController, tweens
// #enddocregion animation-controller, tweens
animation = CurvedAnimation(parent: controller, curve: Curves.easeIn)
..addStatusListener((status) {
if (status == AnimationStatus.completed) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ class _DraggableCardState extends State<DraggableCard>
// #enddocregion alignment
// #enddocregion animation

// #docregion initState
// #docregion init-state
@override
void initState() {
super.initState();
_controller =
AnimationController(vsync: this, duration: const Duration(seconds: 1));
}
// #enddocregion initState
// #enddocregion init-state

@override
void dispose() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class _DraggableCardState extends State<DraggableCard>
Alignment _dragAlignment = Alignment.center;
// #enddocregion animation

// #docregion initState
// #docregion init-state
@override
void initState() {
super.initState();
Expand All @@ -49,7 +49,7 @@ class _DraggableCardState extends State<DraggableCard>
});
});
}
// #enddocregion initState
// #enddocregion init-state

@override
void dispose() {
Expand Down
Loading
Loading