Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
68836dea
Unverified
Commit
68836dea
authored
Sep 18, 2021
by
Kate Lovett
Committed by
GitHub
Sep 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix shrine (#89698)
parent
e8639470
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
app.dart
...ntegration_tests/flutter_gallery/lib/demo/shrine/app.dart
+5
-0
smoke_test.dart
dev/integration_tests/flutter_gallery/test/smoke_test.dart
+5
-1
No files found.
dev/integration_tests/flutter_gallery/lib/demo/shrine/app.dart
View file @
68836dea
...
...
@@ -37,6 +37,11 @@ class _ShrineAppState extends State<ShrineApp> with SingleTickerProviderStateMix
@override
Widget
build
(
BuildContext
context
)
{
return
MaterialApp
(
// The automatically applied scrollbars on desktop can cause a crash for
// demos where many scrollables are all attached to the same
// PrimaryScrollController. The gallery needs to be migrated before
// enabling this. https://github.com/flutter/gallery/issues/523
scrollBehavior:
const
MaterialScrollBehavior
().
copyWith
(
scrollbars:
false
),
title:
'Shrine'
,
home:
HomePage
(
backdrop:
Backdrop
(
...
...
dev/integration_tests/flutter_gallery/test/smoke_test.dart
View file @
68836dea
...
...
@@ -176,7 +176,11 @@ Future<void> smokeGallery(WidgetTester tester) async {
}
void
main
(
)
{
testWidgets
(
'Flutter Gallery app smoke test'
,
smokeGallery
);
testWidgets
(
'Flutter Gallery app smoke test'
,
smokeGallery
,
variant:
const
TargetPlatformVariant
(<
TargetPlatform
>{
TargetPlatform
.
android
,
TargetPlatform
.
macOS
}),
);
testWidgets
(
'Flutter Gallery app smoke test with semantics'
,
(
WidgetTester
tester
)
async
{
RendererBinding
.
instance
!.
setSemanticsEnabled
(
true
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment