We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
withOpacity
focus_scope.0.dart
1 parent e5706c3 commit 3a65020Copy full SHA for 3a65020
examples/api/lib/widgets/focus_scope/focus_scope.0.dart
@@ -135,7 +135,7 @@ class _FocusScopeExampleState extends State<FocusScopeExample> {
135
child: Pane(
136
icon: const Icon(Icons.menu),
137
focusNode: foregroundNode,
138
- // TRY THIS: Try changing this to Colors.green.withOpacity(0.8) to see for
+ // TRY THIS: Try changing this to Colors.green.withValues(alpha: 0.8) to see for
139
// yourself that the hidden components do/don't get focus.
140
backgroundColor: Colors.green,
141
onPressed: backdropIsVisible ? null : () => setState(() => backdropIsVisible = true),
0 commit comments