Skip to content

Commit b0e7284

Browse files
committed
Fixup next-gen-ui
1 parent 62dfd3b commit b0e7284

File tree

35 files changed

+42
-42
lines changed

35 files changed

+42
-42
lines changed

next-gen-ui/codelab_rebuild.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ steps:
884884
Animation<double> animation = buildAnimation(controller, entry);
885885
return getOptimizedBuilder<double>(
886886
animation: animation,
887-
builder: (_, __) {
887+
builder: (_, _) {
888888
return AnimatedSampler(
889889
(image, size, canvas) {
890890
EdgeInsets? insets;
@@ -1596,7 +1596,7 @@ steps:
15961596
if (fragmentPrograms == null) return const SizedBox.expand();
15971597
return ListenableBuilder(
15981598
listenable: _heartbeatAnim,
1599-
builder: (_, __) {
1599+
builder: (_, _) {
16001600
final heartbeatEnergy = _heartbeatAnim
16011601
.drive(_heartbeatSequence)
16021602
.value;
@@ -2878,11 +2878,11 @@ steps:
28782878
+ return TweenAnimationBuilder(
28792879
+ tween: ColorTween(begin: emitColor, end: emitColor),
28802880
+ duration: duration,
2881-
+ builder: (_, emitColor, __) {
2881+
+ builder: (_, emitColor, _) {
28822882
+ return TweenAnimationBuilder(
28832883
+ tween: ColorTween(begin: orbColor, end: orbColor),
28842884
+ duration: duration,
2885-
+ builder: (context, orbColor, __) {
2885+
+ builder: (context, orbColor, _) {
28862886
+ return builder(context, orbColor!, emitColor!);
28872887
+ },
28882888
+ );

next-gen-ui/step_01/lib/common/shader_effect.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class ShaderEffect extends Effect<double> {
5050
Animation<double> animation = buildAnimation(controller, entry);
5151
return getOptimizedBuilder<double>(
5252
animation: animation,
53-
builder: (_, __) {
53+
builder: (_, _) {
5454
return AnimatedSampler(
5555
(image, size, canvas) {
5656
EdgeInsets? insets;

next-gen-ui/step_01/lib/orb_shader/orb_shader_widget.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class OrbShaderWidgetState extends State<OrbShaderWidget>
7878
if (fragmentPrograms == null) return const SizedBox.expand();
7979
return ListenableBuilder(
8080
listenable: _heartbeatAnim,
81-
builder: (_, __) {
81+
builder: (_, _) {
8282
final heartbeatEnergy = _heartbeatAnim
8383
.drive(_heartbeatSequence)
8484
.value;

next-gen-ui/step_02_a/lib/common/shader_effect.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class ShaderEffect extends Effect<double> {
5050
Animation<double> animation = buildAnimation(controller, entry);
5151
return getOptimizedBuilder<double>(
5252
animation: animation,
53-
builder: (_, __) {
53+
builder: (_, _) {
5454
return AnimatedSampler(
5555
(image, size, canvas) {
5656
EdgeInsets? insets;

next-gen-ui/step_02_a/lib/orb_shader/orb_shader_widget.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class OrbShaderWidgetState extends State<OrbShaderWidget>
7878
if (fragmentPrograms == null) return const SizedBox.expand();
7979
return ListenableBuilder(
8080
listenable: _heartbeatAnim,
81-
builder: (_, __) {
81+
builder: (_, _) {
8282
final heartbeatEnergy = _heartbeatAnim
8383
.drive(_heartbeatSequence)
8484
.value;

next-gen-ui/step_02_b/lib/common/shader_effect.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class ShaderEffect extends Effect<double> {
5050
Animation<double> animation = buildAnimation(controller, entry);
5151
return getOptimizedBuilder<double>(
5252
animation: animation,
53-
builder: (_, __) {
53+
builder: (_, _) {
5454
return AnimatedSampler(
5555
(image, size, canvas) {
5656
EdgeInsets? insets;

next-gen-ui/step_02_b/lib/orb_shader/orb_shader_widget.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class OrbShaderWidgetState extends State<OrbShaderWidget>
7878
if (fragmentPrograms == null) return const SizedBox.expand();
7979
return ListenableBuilder(
8080
listenable: _heartbeatAnim,
81-
builder: (_, __) {
81+
builder: (_, _) {
8282
final heartbeatEnergy = _heartbeatAnim
8383
.drive(_heartbeatSequence)
8484
.value;

next-gen-ui/step_02_c/lib/common/shader_effect.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class ShaderEffect extends Effect<double> {
5050
Animation<double> animation = buildAnimation(controller, entry);
5151
return getOptimizedBuilder<double>(
5252
animation: animation,
53-
builder: (_, __) {
53+
builder: (_, _) {
5454
return AnimatedSampler(
5555
(image, size, canvas) {
5656
EdgeInsets? insets;

next-gen-ui/step_02_c/lib/orb_shader/orb_shader_widget.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class OrbShaderWidgetState extends State<OrbShaderWidget>
7878
if (fragmentPrograms == null) return const SizedBox.expand();
7979
return ListenableBuilder(
8080
listenable: _heartbeatAnim,
81-
builder: (_, __) {
81+
builder: (_, _) {
8282
final heartbeatEnergy = _heartbeatAnim
8383
.drive(_heartbeatSequence)
8484
.value;

next-gen-ui/step_03_a/lib/common/shader_effect.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class ShaderEffect extends Effect<double> {
5050
Animation<double> animation = buildAnimation(controller, entry);
5151
return getOptimizedBuilder<double>(
5252
animation: animation,
53-
builder: (_, __) {
53+
builder: (_, _) {
5454
return AnimatedSampler(
5555
(image, size, canvas) {
5656
EdgeInsets? insets;

0 commit comments

Comments
 (0)