-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
Error(Warning) in hiding slider labels #148159
Labels
a: error message
Error messages from the Flutter framework
f: material design
flutter/packages/flutter/material repository.
found in release: 3.19
Found to occur in 3.19
found in release: 3.22
Found to occur in 3.22
framework
flutter/packages/flutter repository. See also f: labels.
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
P2
Important issues not at the top of the work list
r: fixed
Issue is closed as already fixed in a newer version
team-design
Owned by Design Languages team
triaged-design
Triaged by Design Languages team
Comments
Thanks for the report. Below is the error thrown in the console: console error log
stable, master flutter doctor -v
|
darshankawar
added
framework
flutter/packages/flutter repository. See also f: labels.
f: material design
flutter/packages/flutter/material repository.
a: error message
Error messages from the Flutter framework
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
team-design
Owned by Design Languages team
found in release: 3.19
Found to occur in 3.19
found in release: 3.22
Found to occur in 3.22
and removed
in triage
Presently being triaged by the triage team
labels
May 13, 2024
Piinks
added
triaged-design
Triaged by Design Languages team
P2
Important issues not at the top of the work list
labels
May 15, 2024
hello-coder-xu
pushed a commit
to hello-coder-xu/flutter
that referenced
this issue
May 16, 2024
9 tasks
hello-coder-xu
pushed a commit
to hello-coder-xu/flutter
that referenced
this issue
May 16, 2024
…r_text_null_error * feature/fix_slider_label_null_error: fix flutter#148159
This was referenced May 16, 2024
Code sampleexpand to view the code sampleimport 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
double _sliderValue = 50;
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
body: Center(
child: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
Slider(
value: _sliderValue,
max: 100,
label: _sliderValue > 50 ? null : _sliderValue.toString(),
divisions: 10,
onChanged: (double value) {
setState(() {
_sliderValue = value;
});
},
)
],
),
),
),
);
}
}
|
darshankawar
added
the
r: fixed
Issue is closed as already fixed in a newer version
label
May 31, 2024
victorsanni
pushed a commit
to victorsanni/flutter
that referenced
this issue
May 31, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
a: error message
Error messages from the Flutter framework
f: material design
flutter/packages/flutter/material repository.
found in release: 3.19
Found to occur in 3.19
found in release: 3.22
Found to occur in 3.22
framework
flutter/packages/flutter repository. See also f: labels.
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
P2
Important issues not at the top of the work list
r: fixed
Issue is closed as already fixed in a newer version
team-design
Owned by Design Languages team
triaged-design
Triaged by Design Languages team
Steps to reproduce
Expected results
Nothing
Actual results
Error report.(Tip error in my real project)
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: