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
d8cdaba0
Unverified
Commit
d8cdaba0
authored
Jul 20, 2021
by
nt4f04uNd
Committed by
GitHub
Jul 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init (#82348)
parent
4ab29de6
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
549 additions
and
710 deletions
+549
-710
chip_theme_test.dart
packages/flutter/test/material/chip_theme_test.dart
+32
-40
range_slider_test.dart
packages/flutter/test/material/range_slider_test.dart
+253
-322
slider_test.dart
packages/flutter/test/material/slider_test.dart
+264
-348
No files found.
packages/flutter/test/material/chip_theme_test.dart
View file @
d8cdaba0
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:ui'
show
window
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
...
...
@@ -90,24 +88,21 @@ void main() {
locale:
const
Locale
(
'en'
,
'us'
),
home:
Directionality
(
textDirection:
TextDirection
.
ltr
,
child:
MediaQuery
(
data:
MediaQueryData
.
fromWindow
(
window
),
child:
Material
(
child:
Center
(
child:
Theme
(
data:
theme
,
child:
RawChip
(
showCheckmark:
true
,
onDeleted:
()
{
},
tapEnabled:
true
,
avatar:
const
Placeholder
(),
deleteIcon:
const
Placeholder
(),
isEnabled:
true
,
selected:
false
,
label:
const
Text
(
'Chip'
),
onSelected:
(
bool
newValue
)
{
},
onPressed:
null
,
),
child:
Material
(
child:
Center
(
child:
Theme
(
data:
theme
,
child:
RawChip
(
showCheckmark:
true
,
onDeleted:
()
{
},
tapEnabled:
true
,
avatar:
const
Placeholder
(),
deleteIcon:
const
Placeholder
(),
isEnabled:
true
,
selected:
false
,
label:
const
Text
(
'Chip'
),
onSelected:
(
bool
newValue
)
{
},
onPressed:
null
,
),
),
),
...
...
@@ -141,26 +136,23 @@ void main() {
return
MaterialApp
(
home:
Directionality
(
textDirection:
TextDirection
.
ltr
,
child:
MediaQuery
(
data:
MediaQueryData
.
fromWindow
(
window
),
child:
Material
(
child:
Center
(
child:
Theme
(
data:
theme
,
child:
ChipTheme
(
data:
customTheme
,
child:
RawChip
(
showCheckmark:
true
,
onDeleted:
()
{
},
tapEnabled:
true
,
avatar:
const
Placeholder
(),
deleteIcon:
const
Placeholder
(),
isEnabled:
true
,
selected:
value
,
label:
const
Text
(
'
$value
'
),
onSelected:
(
bool
newValue
)
{
},
onPressed:
null
,
),
child:
Material
(
child:
Center
(
child:
Theme
(
data:
theme
,
child:
ChipTheme
(
data:
customTheme
,
child:
RawChip
(
showCheckmark:
true
,
onDeleted:
()
{
},
tapEnabled:
true
,
avatar:
const
Placeholder
(),
deleteIcon:
const
Placeholder
(),
isEnabled:
true
,
selected:
value
,
label:
const
Text
(
'
$value
'
),
onSelected:
(
bool
newValue
)
{
},
onPressed:
null
,
),
),
),
...
...
packages/flutter/test/material/range_slider_test.dart
View file @
d8cdaba0
This diff is collapsed.
Click to expand it.
packages/flutter/test/material/slider_test.dart
View file @
d8cdaba0
This diff is collapsed.
Click to expand it.
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