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
4f8634e7
Unverified
Commit
4f8634e7
authored
Apr 27, 2020
by
Jose Alba
Committed by
GitHub
Apr 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing Deprecated flag (#55782)
parent
057a25cd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
18 deletions
+2
-18
expansion_panels_demo.dart
...tter_gallery/lib/demo/material/expansion_panels_demo.dart
+0
-2
slider_demo.dart
..._tests/flutter_gallery/lib/demo/material/slider_demo.dart
+2
-16
No files found.
dev/integration_tests/flutter_gallery/lib/demo/material/expansion_panels_demo.dart
View file @
4f8634e7
...
@@ -305,8 +305,6 @@ class _ExpansionPanelsDemoState extends State<ExpansionPanelsDemo> {
...
@@ -305,8 +305,6 @@ class _ExpansionPanelsDemoState extends State<ExpansionPanelsDemo> {
// Allow room for the value indicator.
// Allow room for the value indicator.
padding:
const
EdgeInsets
.
only
(
top:
44.0
),
padding:
const
EdgeInsets
.
only
(
top:
44.0
),
child:
Slider
(
child:
Slider
(
// ignore: deprecated_member_use
useV2Slider:
true
,
min:
0.0
,
min:
0.0
,
max:
100.0
,
max:
100.0
,
divisions:
5
,
divisions:
5
,
...
...
dev/integration_tests/flutter_gallery/lib/demo/material/slider_demo.dart
View file @
4f8634e7
...
@@ -274,8 +274,6 @@ class _SlidersState extends State<_Sliders> {
...
@@ -274,8 +274,6 @@ class _SlidersState extends State<_Sliders> {
),
),
),
),
Slider
.
adaptive
(
Slider
.
adaptive
(
// ignore: deprecated_member_use
useV2Slider:
true
,
label:
_continuousValue
.
toStringAsFixed
(
6
).
toString
(),
label:
_continuousValue
.
toStringAsFixed
(
6
).
toString
(),
value:
_continuousValue
,
value:
_continuousValue
,
min:
0.0
,
min:
0.0
,
...
@@ -292,8 +290,7 @@ class _SlidersState extends State<_Sliders> {
...
@@ -292,8 +290,7 @@ class _SlidersState extends State<_Sliders> {
Column
(
Column
(
mainAxisSize:
MainAxisSize
.
min
,
mainAxisSize:
MainAxisSize
.
min
,
children:
const
<
Widget
>[
children:
const
<
Widget
>[
// ignore: deprecated_member_use
Slider
.
adaptive
(
value:
0.25
,
onChanged:
null
),
Slider
.
adaptive
(
useV2Slider:
true
,
value:
0.25
,
onChanged:
null
),
Text
(
'Disabled'
),
Text
(
'Disabled'
),
],
],
),
),
...
@@ -301,8 +298,6 @@ class _SlidersState extends State<_Sliders> {
...
@@ -301,8 +298,6 @@ class _SlidersState extends State<_Sliders> {
mainAxisSize:
MainAxisSize
.
min
,
mainAxisSize:
MainAxisSize
.
min
,
children:
<
Widget
>[
children:
<
Widget
>[
Slider
.
adaptive
(
Slider
.
adaptive
(
// ignore: deprecated_member_use
useV2Slider:
true
,
value:
_discreteValue
,
value:
_discreteValue
,
min:
0.0
,
min:
0.0
,
max:
200.0
,
max:
200.0
,
...
@@ -334,8 +329,6 @@ class _SlidersState extends State<_Sliders> {
...
@@ -334,8 +329,6 @@ class _SlidersState extends State<_Sliders> {
valueIndicatorTextStyle:
theme
.
accentTextTheme
.
bodyText1
.
copyWith
(
color:
theme
.
colorScheme
.
onSurface
),
valueIndicatorTextStyle:
theme
.
accentTextTheme
.
bodyText1
.
copyWith
(
color:
theme
.
colorScheme
.
onSurface
),
),
),
child:
Slider
(
child:
Slider
(
// ignore: deprecated_member_use
useV2Slider:
true
,
value:
_discreteCustomValue
,
value:
_discreteCustomValue
,
min:
0.0
,
min:
0.0
,
max:
200.0
,
max:
200.0
,
...
@@ -379,8 +372,6 @@ class _RangeSlidersState extends State<_RangeSliders> {
...
@@ -379,8 +372,6 @@ class _RangeSlidersState extends State<_RangeSliders> {
mainAxisSize:
MainAxisSize
.
min
,
mainAxisSize:
MainAxisSize
.
min
,
children:
<
Widget
>[
children:
<
Widget
>[
RangeSlider
(
RangeSlider
(
// ignore: deprecated_member_use
useV2Slider:
true
,
values:
_continuousValues
,
values:
_continuousValues
,
min:
0.0
,
min:
0.0
,
max:
100.0
,
max:
100.0
,
...
@@ -396,8 +387,7 @@ class _RangeSlidersState extends State<_RangeSliders> {
...
@@ -396,8 +387,7 @@ class _RangeSlidersState extends State<_RangeSliders> {
Column
(
Column
(
mainAxisSize:
MainAxisSize
.
min
,
mainAxisSize:
MainAxisSize
.
min
,
children:
<
Widget
>[
children:
<
Widget
>[
// ignore: deprecated_member_use
RangeSlider
(
values:
const
RangeValues
(
0.25
,
0.75
),
onChanged:
null
),
RangeSlider
(
useV2Slider:
true
,
values:
const
RangeValues
(
0.25
,
0.75
),
onChanged:
null
),
const
Text
(
'Disabled'
),
const
Text
(
'Disabled'
),
],
],
),
),
...
@@ -405,8 +395,6 @@ class _RangeSlidersState extends State<_RangeSliders> {
...
@@ -405,8 +395,6 @@ class _RangeSlidersState extends State<_RangeSliders> {
mainAxisSize:
MainAxisSize
.
min
,
mainAxisSize:
MainAxisSize
.
min
,
children:
<
Widget
>[
children:
<
Widget
>[
RangeSlider
(
RangeSlider
(
// ignore: deprecated_member_use
useV2Slider:
true
,
values:
_discreteValues
,
values:
_discreteValues
,
min:
0.0
,
min:
0.0
,
max:
200.0
,
max:
200.0
,
...
@@ -436,8 +424,6 @@ class _RangeSlidersState extends State<_RangeSliders> {
...
@@ -436,8 +424,6 @@ class _RangeSlidersState extends State<_RangeSliders> {
showValueIndicator:
ShowValueIndicator
.
never
,
showValueIndicator:
ShowValueIndicator
.
never
,
),
),
child:
RangeSlider
(
child:
RangeSlider
(
// ignore: deprecated_member_use
useV2Slider:
true
,
values:
_discreteCustomValues
,
values:
_discreteCustomValues
,
min:
0.0
,
min:
0.0
,
max:
200.0
,
max:
200.0
,
...
...
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