Skip to content

Commit c9f23b0

Browse files
Fix ShaderMask Example issue (#124511)
Fix ShaderMask Example issue
1 parent ab88f4a commit c9f23b0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/flutter/lib/src/widgets/basic.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,10 @@ class Opacity extends SingleChildRenderObjectWidget {
379379
/// tileMode: TileMode.mirror,
380380
/// ).createShader(bounds);
381381
/// },
382-
/// child: const Text('I’m burning the memories'),
382+
/// child: const Text(
383+
/// 'I’m burning the memories',
384+
/// style: TextStyle(color: Colors.white),
385+
/// ),
383386
/// )
384387
/// ```
385388
/// {@end-tool}

0 commit comments

Comments
 (0)