| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: In Flutter application, how to create a test that measures the animation performance with a macro benchmark test by navigation on the'cubic_bezier_perf'route called'Cubic_bezier_perf'route?\, : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: Basic-Textfield\, : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: AAPL\, : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: Flat\, : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: In the Flutter Engine store, in order to verify the SKIA Gold integration and detect errors, in the given directory (e2e_fixtures), the square visuals of various colors (solid_blue_square.png, solid_red_red_square.png, solid_green_square.png) Design the process and apply it, this process should check whether the SKIA Gold client is available, to upload the necessary identity to the SKIA Gold, to report and summarize the comparisons of the loading and comparison, and the failure of this test process (for example, should be stated in detail how to handle it with appropriate error codes and messages, and outlines how this process can be expanded for different visuals and test scenarios in the future.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_1801_2000_eng.csvreporow_in_file124statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_001927messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWrite a Dart script that verifies the exported symbols of Flutter engine shared libraries (`Flutter.framework`, `libflutter.so`, and `libflutter_engine.so`) across iOS, Android, and Linux platforms using the `llvm-nm` tool.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_1801_2000_eng.csvreporow_in_file127statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_001943messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentFlutter framework's descriptions of different platforms (Dart UI, Web UI, C ++, Java) enum definitions (AccessibilityFeatural, Semanticsaction, ApplifecyClestate, Semanticsflag) and Native APIs (especially`natifunctionbody``natifunctionbody`s) To verify the use, which test strategies and code analysis techniques do you use, and these strategies can detect API mismatch or misuse between Flutter's different layers (for example, nullable simple data types to native functions), and how comprehensively you can automatically correct these problems to the developers?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_1801_2000_eng.csvreporow_in_file143statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_001953messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentFor the Flutter engine repository, how do you write an automated test to ensure that the `HeaderFilterRegex` in the `.clang-tidy` file covers all non-excluded root directories?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_1801_2000_eng.csvreporow_in_file153statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_001961messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Dart, demonstrate how to define and use compile-time constant instances (const instances) of a custom `Target` class. Create a comprehensive test scenario that showcases these constants within nested objects, collections (List, Set, Map), and other classes like `IgnoreMe` and `StaticConstInitializer` to illustrate compile-time constancy.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_1801_2000_eng.csvreporow_in_file161statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_001971messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentCreate a Dart class `BuildPlan` for a Flutter engine build tool (`et`) that parses command-line arguments and environment variables. It should configure build aspects like LTO, RBE, concurrency, and build strategy, while handling validation and invalid argument combinations.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_1801_2000_eng.csvreporow_in_file171statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_001989messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentDesign a Dart class `TargetPlatform` to represent and validate platform-specific identifiers (e.g., 'android-arm64', 'windows-x64') for Flutter compilation tools. The class should be immutable, use a private constructor to restrict instantiation, and provide robust parsing methods (`parse` and `tryParse`) with clear exception handling.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_1801_2000_eng.csvreporow_in_file189statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_002000messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWrite a Dart test using the Flutter Engine tool test infrastructure to verify that the `fetch` and `sync` commands (triggered by `engine_tool`) correctly invoke `gclient sync -D` using a fake process manager and environment.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_1801_2000_eng.csvreporow_in_file200statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_002006messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow do I write a platform-independent Dart test to verify that the `et` executable under the `bin/` directory of the Flutter engine repository runs successfully (e.g., with the 'help' command), using packages like `process_runner`, `platform`, and `path`, and printing detailed stdout/stderr on failure?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2001_2200_eng.csvreporow_in_file6statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002028messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWrite a Dart application using the `args` and `command_runner` packages to implement git hooks (`post-checkout`, `post-merge`, `pre-push`, `pre-rebase`) for the `flutter/engine` repository. The application should support global options: `--flutter` (absolute path to the engine root, required), `--enable-clang-tidy` (flag to run clang-tidy on changed files), and `--verbose` (flag for verbose logging). It should validate these options and run the sub-commands.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2001_2200_eng.csvreporow_in_file28statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002030messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWhen developing a Flutter command-line interface (CLI) tool, we need a command called 'post-checkout' that runs automatically after updating a Git working tree, reminding the user to run 'gclient sync'. Implement this command using `package:args/command_runner` with the appropriate name, description, and asynchronous execution logic.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2001_2200_eng.csvreporow_in_file30statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_002032messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWrite a Dart command class `PrePushCommand` using `package:args/command_runner.dart` to run checks before a 'git push'. It should integrate formatting tools and Clang-Tidy, support verbose mode, check Clang-Tidy's activation status, configure the Flutter root directory, and output detailed error reports. The command should return a boolean indicating success or failure.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "32", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "easy", "id": "seed_002039", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Write a complete Dart command-line application using the 'header_guard_check' package. The application must run asynchronously, accept command-line arguments, and exit with a non-zero code if the check fails.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "39", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_002056", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Write a Dart command-line tool using the `engine_build_configs` and `engine_repo_tools` packages to validate Flutter engine build configurations and the `.ci.yaml` file. It should check for duplicate configurations, invalid build names, and compliance with release build standards. It must support arguments for verbose mode, help, and the engine source path (`--engine-src-path`), and report success/failure status with error messages.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.95, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "56", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_002068", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In the Flutter engine repository, write unit tests to verify the structure and content of the `.ci.yaml` file. The tests should parse the YAML data into `CiConfig` objects, validate these configurations, and cover various scenarios (valid, invalid, and missing fields) to ensure correct behavior. How should the tests for `CiConfig` and its related classes be structured?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "68", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_002071", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Dart, how can we design an `Engine` class to represent and manage a specific file system structure (containing a `src` directory, a `flutter` subdirectory, and an `out` subdirectory)? The design should support testability, different scenarios, a class hierarchy, factory methods, custom exception classes, and methods such as `tryFindWithin`, `outputs`, and `latestOutput` to ensure the structure is verified, located, and managed properly.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "71", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002072", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In order to facilitate the interaction of the `engine_repo_tools` package with the Flutter engine repository, how should we test the expected behaviors and possible exceptional states of the `Engine` class and its related functions (especially `Engine.fromSrcPath`, `Engine.findWithin`, and `Engine.outputs`)? Specifically, how should these functions behave in invalid or missing engine storage structures and different output directories, and how can we write tests to ensure reliable tools for engine development workflows?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "72", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "medium", "id": "seed_002078", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In the Flutter web engine codebase, the 'dart:js_util' and 'package:js' libraries should only be accessed by certain controlled files. Design a Dart test scenario that scans all `.dart` files in the codebase, confirms expected violations (e.g., in a mock file like 'alarm_clock.dart'), allows access only for audited libraries, and can be used in an integration environment to prevent future violations.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.95, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "78", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "medium", "id": "seed_002085", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, by using a series of predefined offset points, a Catmull-Rom Spline curve, where we can also determine the start and end points, moves a particular widget (eg a circle) in a animated manner, enabling us to control the speed and fluency of this movement, which can be used to create a repetitive and privatizable animation and the animation techniques should be used. How should we implement that you can work with different curved types (eg`Curves.easeinout`) and different animation times?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "85", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002091", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Create a Flutter application demonstrating `CupertinoContextMenu.builder` on a yellow container with rounded corners. The menu should contain 'Copy', 'Share', 'Favorite', and 'Delete' actions. Animate the container's decoration using a `DecorationTween` (with `BoxShadow`) up to `CupertinoContextMenu.animationOpensAt` using `CurvedAnimation`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2001_2200_eng.csvreporow_in_file91statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyeasyidseed_002100messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you create a sample application containing a `ListView` inside a `CupertinoPageScaffold` that demonstrates a basic iOS-style list interface using the `CupertinoListTile` widget with different variations (title, leading widget, trailing widget, both, two-line head and sub-head, background color) and features (leading widget size, key use)?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2001_2200_eng.csvreporow_in_file100statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002109messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do we configure a list of `CupertinoRadio` widgets inside `CupertinoListTile` elements to create a selectable list of radio buttons? Specifically, how do we configure the `groupValue`, `value`, `onChanged`, and `toggleable` properties of `CupertinoRadio`, and update the interface using `setState` so that clicking an already selected option deselects it (updating the `_character` variable to null)?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2001_2200_eng.csvreporow_in_file109statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyeasyidseed_002115messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do we create a Cupertino application containing a Cupertinosearchtextfield with a Cupertinosearchtextfield that has a \ in accordance with the Cupertino style, with a \ space -standing text, and how to control the value of this search area through the program, and how to remove this text area (Dispose)?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2001_2200_eng.csvreporow_in_file115statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyeasyidseed_002126messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can I create a CupertinoTextField with a light-themed text controller containing a predetermined starter text, manage the lifecycle of this controller, and place it inside a CupertinoPageScaffold with a CupertinoNavigationBar?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2001_2200_eng.csvreporow_in_file126statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002127messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow do I create a complete user interface in Flutter using a CupertinoPageScaffold with a CupertinoNavigationBar titled 'CupertinoFormSection Sample', containing an inset-grouped CupertinoFormSection with multiple CupertinoTextFormFieldRows? The form should validate in real-time (AutovalidateMode.always) and trigger a save on any change using Form.maybeOf(primaryFocus!.context!).roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2001_2200_eng.csvreporow_in_file127statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_002140messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, Material Design 3 in accordance with the design principles, a special shape Appar (for example, with a sloping edge at the bottom), to show a search text below this Appar (including Indian text, Prefix and Suffix icons), textfield's appearance (border color, filling color, etc.) to be special to the theme colors of the APP and the appari can be specially shifted to the theme colors. What kind of structure should I use to show the list (for example, with ListView.builder) and what roles do`Customappbarshape`class and`preferedsize`widget play in this structure?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "140", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002143", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Write a Flutter application using Material 3 that features a Large App Bar (with a menu icon on the left, a 'more' icon on the right, and the title 'Large App Bar') inside a CustomScrollView. The scrollable content should be displayed inside a Card, and show how to style this content.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "143", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002147", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, using a`autocomplete`widget in the user interface by pulling data from an asynchronous API, using suggestions according to the text of the user entering the text, but the user will take the results of the latest search, and the results of the latest search will always show the results of the latest search query. How do you configure the`Autocomplete`widget, how do you simulate the data using the`_Fakeapi`class, and how do you optimize the performance and scalability of this configuration?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "147", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_002148", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how can we apply an `Autocomplete` widget with an asynchronous data source using a debouncing technique to prevent excessive API calls? Provide a complete implementation where the `optionsBuilder` of the `Autocomplete` widget uses a debounced search function, and a custom timer class manages the delays and cancels pending requests when a new search term is entered rapidly.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "148", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_002149", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do we implement an `Autocomplete` widget with an asynchronous data source, a debouncing mechanism, and network error handling? Specifically, we want to ensure that requests are debounced (e.g., by 500ms) to avoid sending a request for each character, and prevent the results of canceled requests from updating the user interface. How should we implement the `_AsyncAutocompleteState` class and relevant helper classes (such as a custom `_DebounceTimer`)?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "149", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "easy", "id": "seed_002151", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "While developing the Flutter application, at the top of the application, the user is able to report an important message or action (for example, cookie policy approval, update notification or connection problems) and provide user interaction (for example, \"accept\", \"update\", \"Re -try\"), with a customizable background color, content, title symbol and multiple action button and multiplying, but to the user. How do I create a occupying materialbanner component and configure the basic features of this component (content message, symbol, background color, action buttons and the functionality of these buttons)?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "151", "status": "P1_partial", "type": "seed"}, "task_type": "api_usage"}
|
| {"difficulty": "medium", "id": "seed_002154", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, create a customizable `BottomAppBar` and `FloatingActionButton` which are automatically hidden and shown depending on the direction of scroll, allowing the user to control the visibility of the `FloatingActionButton` and the height of the `BottomAppBar`. What are the steps to create a completely functional user interface that uses the Material 3 design language, and how do we apply these steps in accordance with Flutter's best practices?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2001_2200_eng.csvreporow_in_file154statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyeasyidseed_002155messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you create a basic BottomNavigationBar structure representing three different tabs (Home, Business, School)? Each tab should display its corresponding text content (e.g., 'Index 0: Home', 'Index 1: Business', 'Index 2: School') and change the color of the selected tab. Please provide a detailed implementation covering the basic application structure (MaterialApp, StatelessWidget, StatefulWidget), BottomNavigationBar creation (items, currentIndex, selectedItemColor, onTap), state management (_selectedIndex, _onItemTapped), and the content list (_widgetOptions).roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2001_2200_eng.csvreporow_in_file155statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyeasyidseed_002156messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow do you create a stateful Flutter application with a BottomNavigationBar containing four sections (Home, Business, School, and Settings), each displaying a large text label and having a customized background color when selected?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2001_2200_eng.csvreporow_in_file156statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002158messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can I configure the animation style of a sub-panel (bottom sheet) that is opened using the`showbottomsheet`function with different options (assumed, specially defined times, without animation) and how to change the animation time of the lower panel and the reverse animation time and the reverse animation time. How can I integrate with Widget so that I can update the`sheetanimationStyle`parameter according to the user selection?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2001_2200_eng.csvreporow_in_file158statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002161messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, develop a sample application that demonstrates how to customize the opening and closing animations of a Modal Bottom Sheet (including custom duration, reverse duration, and completely disabling the animation) using the `showModalBottomSheet` function's `sheetAnimationStyle` parameter. The user should be able to select the animation style (Default, Custom, or None) using a `SegmentedButton` widget, managing its selection via the `onSelectionChanged` event.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "161", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "easy", "id": "seed_002171", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, using the Material 3 theme, how do you write the minimum, reusable, and understandable code to create a list of three interactive `CheckboxListTile` widgets with 'Headline' titles and varying lengths of 'Supporting Text' subtitles, demonstrating how to align the checkbox to the top of the text using `isThreeLine`?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "171", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002174", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do you size and customize the avatar area using the `avatarBoxConstraints` property of the `RawChip` widget? Specifically, when using `BoxConstraints.tightForFinite()` in combination with label texts of different lengths, what is the effect on the appearance and behavior of the `RawChip` widget, and how can we ensure consistent layout behavior?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "174", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002182", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do you customize the appearance and behavior of the text selection toolbar buttons (like cut, copy, paste) in a TextField while maintaining platform-adaptive behavior using AdaptiveTextSelectionToolbar and ContextMenuButtonItem? Also, how do you handle web-specific context menu conflicts?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "182", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002183", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how can we create a fully customized context menu for a TextField that detects if the selected text is a valid email address using Regex, and if so, adds a custom 'Send Email' menu item that opens a dialog? The solution should handle disabling the browser's default right-click menu on the web platform, manage the application lifecycle for this behavior, and use the platform-specific `AdaptiveTextSelectionToolbar`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2001_2200_eng.csvreporow_in_file183statusP1_partialtypeseedtask_typeapi_usage |
| difficultyhardidseed_002184messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can I use the `contextMenuBuilder` feature on a `TextField` to create a completely custom context menu (e.g., arranged in a `GridView` with five custom buttons) while disabling the default browser context menu on the web platform? Please provide a complete example showing how to configure the menu's appearance, layout, and button actions.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2001_2200_eng.csv", "repo": null, "row_in_file": "184", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002185", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In a Flutter application, how can I customize the context menu triggered by right-click or long-press in a `SelectionArea` widget to keep default items, add a custom 'Print' action that shows a dialog, and ensure the browser's default context menu is disabled on web when the widget is active and re-enabled when it is disposed?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2001_2200_eng.csvreporow_in_file185statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_002191messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, explain and write a complete example of how to use `RestorationMixin` and restorable properties to maintain the state of a `DateRangePickerDialog`. Create a `StatefulWidget` named `DatePickerExample` that uses `RestorationMixin` to store the selected date range, open the dialog via a `RestorableRouteFuture`, and restore the selected dates. Explain how this restoration works, including which data is saved and how it is restored.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2001_2200_eng.csvreporow_in_file191statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyeasyidseed_002202messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you create a user interface with a vertical divider (VerticalDivider) and equal-width cards on the left and right sides using the Material 3 design language? The interface should use the main color palette `0xFF6750A4` for the theme, have an AppBar titled 'Divider Sample', and use `EdgeInsets.all(16.0)` padding to control the gaps around the layout.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file2statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyeasyidseed_002204messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, using the values received from a simple string list (`['One','Two','Three','Four']`), the first value of the list is the first element of the list, to create a Dropdownbutton in a customized appearance (arrow icon, deep purple colored text and sub-line) and update the value on the screen. What exactly should we design a code structure that holds the selected value of Dropdownbutton and updates it with Setstate?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file4statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002205messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you create a `DropdownButton` widget using a `Map<String, String>` of city names and their abbreviations? The dropdown's `items` should display the full city names, while the `selectedItemBuilder` should display the selected city's abbreviation inside a `Container` with blue, bold text. The UI should update when a new city is selected via `onChanged`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file5statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002207messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentCreate a Flutter application using `DropdownMenu` widgets to implement separate dropdowns for colors and icons. The app should dynamically display the selected color and icon as a text and icon combination. Deactivate one of the color options (e.g., Grey), enable search filtering on the icon dropdown, and use `ColorLabel` and `IconLabel` enums to manage the data.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file7statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyeasyidseed_002233messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentUsing Flutter, how can I create a basic MaterialApp and Scaffold structure containing a TextField with a send icon on the left, hint text, helper text, a character counter, and an OutlineInputBorder?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file33statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyeasyidseed_002235messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you create a simple text entry field inside a Scaffold using a TextField widget with a customized InputDecoration that shows a hint text, an error message, and an OutlineInputBorder, compatible with Material 3?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file35statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyeasyidseed_002236messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can I create a `TextFormField` widget with an `initialValue`, a `prefix` widget, and a `suffix` widget? The code should use the Material 3 theme and be contained within a Scaffold with an AppBar titled 'InputDecoration Sample'.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file36statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002237messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you style the floating label of a `TextFormField` using `WidgetStateTextStyle.resolveWith`? Provide a complete, working example using `useMaterial3: true` and `AutovalidateMode.always`. The floating label should have a letter spacing of 1.3, and its color should dynamically change: orange in the normal state, and the theme's error color (`Theme.of(context).colorScheme.error`) when a validation error occurs (e.g., when the field is left empty).", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "37", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002238", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how to create a dynamic \"Helper\" feature in a Textfield's Inputdecoration, which contains both text and a icon and provides precise control on the color, size of this icon and the manner under Textfield, is optimized in accordance with the principles of accessibility?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file38statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002240messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, I want to dynamically change the`labelstyle`feature in an`Inputdecoration`of a`Textformfield`of a`Textformfield`. This dynamic style change should ensure that the color of`labeltext`has a verification error to the error color of the theme, or a predetermined color (eg orange). In order to realize this behavior, how should I configure`labeltyle'correctly, which widgets or classes should I use, and what is the most appropriate approach to determine the error situation and apply the relevant style? In particular, the expression`widgetstatextStyle.resolvewith,`widgetstate`enum and`Theme.of (cont). Colorscheme.error`is correct and how can I guarantee whether this approach produces the expected result? If this approach is incorrect or improved, what is your proposal for an alternative solution?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "40", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "easy", "id": "seed_002242", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, in order to control the size and alignment of the `prefixIcon` used in the `InputDecoration` of the `TextField` widget, we use `prefixIconConstraints`. Create a completely functional and well-documented example application that explains how it affects the minimum size and width of `prefixIcon` and how it can improve the user experience.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "42", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002244", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, explain how `InputDecoration`'s `suffixIcon`, `suffixIconConstraints`, and `isDense` properties interact to affect a `TextField`'s vertical dimensions and alignment. Provide a Flutter application demonstrating different `BoxConstraints` values for `suffixIconConstraints` to show how to achieve a consistent UI.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "44", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002246", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how can I change the color of Textformfield's Prefixicon according to the situations that Texinput received (eg error, focus, assumed), so that it should be red, blue and other in other cases when it is focused on error and using this color, material 3 theme and`widgetstatecolor`How can I apply it; In addition, how can I add a simple confirmatory to ensure the accuracy of this application, trigger the error status with this confirmator`.com`and how can I ensure that the verification is continuously working by using`Autovalidatemode.Always`?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file46statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002249messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can we use the `ListTile` widget with different animations (specifically `Hero`, `FadeTransition`, and `SizeTransition`) to create a visually appealing and interactive user interface? Provide a complete, well-structured sample application demonstrating how to configure these animations.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file49statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002260messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can we create a basic application skeleton that displays a `MenuBar` simulating platform-specific menu bars with sub-menus like 'File' and 'View' using `MenuAcceleratorLabel`? Additionally, how do we use `ScaffoldMessenger` to show notifications on interaction, and define a Ctrl+T shortcut to print the application's diagnostic information?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "60", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_002262", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do we create a context menu that can be triggered by both right -click (or secondary click) and keyboard shortcuts, take into account the platform -specific behaviors, depend on whether or not the message is displayed or not showing the display of the message and how we manage the selection and status of this menu (for example, background color, message visibility). To disable the menu and to re-activate it?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "62", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002271", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How can I create a Flutter application featuring a NavigationRail on the left side of the screen where the user can interactively control its properties? Specifically, I want to be able to toggle the label appearance (none, selected, all), vertical alignment (top, center, bottom), and optional leading/trailing widgets (add button, more options icon). The destinations should include custom icons (some with notification badges using the Badge widget) for both selected and unselected states. The main content area should display the current state and provide SegmentedButton and SwitchListTile widgets to dynamically change these features.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "71", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002276", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In a Flutter application, how do we configure `pageTransitionsTheme` in `ThemeData` to use a fading effect (such as `FadeForwardsPageTransitionsBuilder`) for page transitions across all platforms? Provide a complete example featuring a list of items (using `Colors.primaries` for avatars) that navigates to a detail page displaying the selected item's avatar, name, and message.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file76statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002278messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, when displaying a large and dynamic dataset (such as a series' episodes) using a `PaginatedDataTable`, how do you implement custom sorting logic for specific columns (e.g., sorting dates correctly and formatting the 'Episode' column as 'S[Season]E[Episode]')? Specifically, how do you extend the `DataTableSource` class, use a `setData` method, and define a `_displayIndexToRawIndex` constant to optimize sorting performance and keep the UI fluent?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "78", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002279", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do you use the platform-specific menu bar (`PlatformMenuBar`) to create an application menu, manage actions of menu elements (`PlatformMenuItem`), assign shortcuts to these actions, group different menu elements (`PlatformMenuItemGroup`), and open an about dialog box (`showAboutDialog`)? Show how to create a menu structure containing multiple submenus, add standard platform-provided menu items (like Quit), and update a `Text` widget based on the selected menu options using best practices.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.95, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "79", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002282", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how can we customize the opening animation of the `PopupMenuButton` widget by integrating it with a `SegmentedButton` widget? The application should enable transitioning between different animation styles (default, custom, and non-animated) using the `AnimationStyle` class. Develop a sample application that demonstrates this behavior.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "82", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002288", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do I create a widget that displays a list of radio buttons for the names 'Hercules Mulligan', 'Eliza Hamilton', 'Philip Schuyler', 'Maria Reynolds', and 'Samuel Seabury'? The radio buttons should use their index as the value, be toggleable (allowing them to be deselected when tapped again), and be displayed on the home screen of the application.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "88", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002290", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how can I create a customized widget called `LabeledRadio` to expand the touch area of the standard `Radio` widget, customize its label, and control its selection behavior? The `LabeledRadio` widget should accept parameters for the label text, padding, group value, value, and an `onChanged` callback. Additionally, show how to use this widget in a `LabeledRadioExample` stateful widget that displays two options and updates a state variable `_isRadioSelected` when a radio button is selected.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "90", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "easy", "id": "seed_002292", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how can I use the `RadioListTile` widget with Material 3 to allow users to select one option, and control the vertical alignment of the radio button when there is a long subtitle using the `isThreeLine` property? Please provide a complete example.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "92", "status": "P1_partial", "type": "seed"}, "task_type": "api_usage"}
|
| {"difficulty": "medium", "id": "seed_002295", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do you implement a customized `RefreshIndicator` (with a blue background, white foreground, and 4.0 stroke width) that can be triggered programmatically via a `FloatingActionButton` using a `GlobalKey`? The indicator should wrap a `ListView` with 25 items, and the refresh process should simulate a 3-second delay.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "95", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002296", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How do you configure the `notificationPredicate` of a `RefreshIndicator` to target a nested `ListView.builder` inside a `CustomScrollView` (at depth 1) rather than the outer scroll view, and how do you enable drag gestures for all pointer devices using `MaterialScrollBehavior` in Flutter? Provide a complete code example.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "96", "status": "P1_partial", "type": "seed"}, "task_type": "api_usage"}
|
| {"difficulty": "medium", "id": "seed_002299", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how can we create a reorderable list of 50 items using `ReorderableListView`, where each item is a `ListTile` colored differently based on whether its value is even or odd? Additionally, how do we customize the dragging appearance with a custom elevation animation using `proxyDecorator`, and properly update the underlying `_items` list in the `onReorder` callback?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "99", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002300", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how can we display a list of items in a `ReorderableListView` using Material 3, where the dragged card has a soft scale and elevation animation (using a custom `proxyDecorator`), alternating background colors for odd and even rows, and ensuring the reordering updates the state correctly?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "100", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002302", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, I would like to create a Reorderablelistview with 50 lists and to make it possible to change the elements in this list. How can I configure the background color of each listtile to have a more pronounced color tone for double elements and a lighter color tone for a single number of elements, and how should I implement the`Onreorder`function in order to ensure that this re-ranking process is realized (especially in the update of`Oldex`and`NewINDEX`)?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "102", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "easy", "id": "seed_002307", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do we open an `endDrawer` programmatically using a `Scaffold` widget's `GlobalKey` and its `openEndDrawer()` method, while also controlling the swipe gesture using the `endDrawerEnableOpenDragGesture` property?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file107statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002317messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can I create a dynamically adjustable interface using a `SegmentedButton` to control a `SnackBar`'s animation style (such as default, custom duration/reverse duration, or no animation)? Write a complete and working sample code demonstrating how to apply these settings to `showSnackBar`.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "117", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "easy", "id": "seed_002320", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do you create a 3-column GridView containing a vertical Scrollbar and show dynamically increasing text in each cell? Provide the basic structure of the application (MaterialApp, Scaffold, AppBar) and the necessary widgets (Scrollbar, GridView.builder, SliverGridDelegateWithFixedCrossAxisCount, Text) arranged in such a way that the scrollbar interacts with the grid content and the grid contains 120 items.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "120", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002328", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, using the Material 3 design language, how do we implement both single-selection (e.g., calendar view: day, week, month, year) and multi-selection (e.g., sizes: XS, S, M, L, XL) using the `SegmentedButton` widget? Provide a complete example integrating enums, `setState` for state management, and properties like `segments`, `selected`, `onSelectionChanged`, and `multiSelectionEnabled`.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "128", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_002330", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do we make a custom widget selectable by the user with a customized selection area (for example, a rectangle with a certain fill around an icon), place the selection handles in the correct positions, and return the selected content (e.g., a 'Custom Text' string) and range (start and end offsets)? Specifically, how do we create the `_RenderSelectableAdapter` class, which is a custom `RenderObject` based on `RenderProxyBox`, and ensure that it correctly handles different types of `SelectionEvent` (such as selection starting, ending, and directional or granular selection expansion), updates the selection color, manages the starting and ending handles, and handles the selection geometry properly?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "130", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "easy", "id": "seed_002331", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, create a complete sample application demonstrating how to enable text selection across the entire app. The app should use a `MaterialApp` structure, wrap the main layout in a `SelectionArea` widget, and contain a `Column` with three `Text` widgets displaying 'Row 1', 'Row 2', and 'Row 3'.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "131", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "easy", "id": "seed_002337", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do you implement two Sliders where the first slider's secondary track value (`secondaryTrackValue`) is controlled by the value of the second slider? Please provide a complete Flutter example using a `StatefulWidget` and `setState` to manage and update the state of both sliders independently.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file137statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyeasyidseed_002352messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can I create an interactive switchlisttil widget to change the status of a switch, and how can I configure this widget to emphasize text scrolling behavior and the vertical alignment of the key (both in the middle and the top) by using titles and sub-heads containing different amounts of text,roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file152statusP1_partialtypeseedtask_typeapi_usage |
| difficultyeasyidseed_002360messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow do you create a reusable, independent stateless widget (`ObscuredTextFieldSample`) in Flutter for entering sensitive information like passwords? The widget should have a width of 250 pixels and contain a framed `TextField` with `obscureText` set to true and a 'Password' label. Also, show how to use this widget inside a basic `MaterialApp` structure (`TextFieldExampleApp`) with a `Scaffold`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file160statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyeasyidseed_002362messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentCreate a Flutter application demonstrating Material 3 TextField designs. It should include an AppBar titled 'TextField Examples' and two TextFields: one filled and one outlined. Both TextFields should have a search icon as a prefix icon, a clear icon as a suffix icon, a label, hint text, and helper text, utilizing properties like useMaterial3, prefixIcon, suffixIcon, labelText, helperText, filled, and border.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file162statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002363messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, to create a form containing five textfieldfields, to save the value of each Textfield in this form, to ensure that the form is automatically verified in each change, to switch to the next Textfield from the keyboard to the next Textfield and to print the recorded values to the console, how to maintain the general material design. And how do we position this arrangement in the center?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file163statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002372messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can I configure the default behavior of Tooltips centrally in the entire application using `TooltipThemeData` (specifically ensuring they appear above, not below, their contents), and demonstrate this with a rich text tooltip?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file172statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002374messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can I implement a customizable `WidgetStateInputBorder` (specifically an `UnderlineInputBorder`) that changes its appearance based on the text field's state (focused, hovered, disabled)? Additionally, how can I animate the width of the `TextField` dynamically based on focus, simplify state checks using an extension on `Set<WidgetState>`, and control the enabled/disabled state of the text field using a `FilterChip`?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "174", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002375", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, when using a CustomScrollView with a SliverList.builder containing alphabetical elements, how can I dynamically change the scroll direction using radio buttons via an `_axisDirection` variable? Specifically, how should I use the `setState` method to ensure that the content of the `_getLeading` widget (including the arrow icons and text representations) updates correctly when the axis direction changes?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "175", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "easy", "id": "seed_002377", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do you create a MaterialApp covering the entire screen with a linear gradient background starting from the upper left corner and ending at the point (0.8, 1), using a multi-color gradient (including #5b0060 and #ffb56b) with TileMode.mirror, and a centered white 24-point text 'From Night to Day'?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2201_2400_eng.csv", "repo": null, "row_in_file": "177", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002390", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In the Flutter application, to ensure that a particular Widget captures and processes the keyboard entry, listening to keyboard events using Focusnode and updating the user interface according to certain key strokes (for example, \"Q\" key), as well as show different messages in Debug and Release modes and can be used to re-use and re-use Focus. Which Life Cycle Methods (Dispose) should be used to prevent memory leaks when managing this widget's keyboard interaction?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file190statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002393messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow can I dynamically change the system status bar and navigation bar colors in Flutter using SystemUiOverlayStyle, and ensure the UI elements adapt to the background color?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file193statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_002395messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentFlutter in Flutter, a special virtual keyboard independent of the keyboard (myvirtualkeyboard) to create and direct the text inputs of this keyboard to a Textfield (Textinputcontrolexample), the visibility of the virtual keyboard (mytextinkputControl.visible) Texinputconttrol api's (Textinput.setinputcontrol, texinput.restoreplatformputcontrol, textinkput.updateeditingValue) to manage, Textfield's existing text content (texteditingValue) to update according to virtual keyboard inputs (adding and cursor positioning) (Focusnode) To control the virtual keyboard independently, how can we apply and manage the interaction between these components, including the correct use of the Textinputcontrol API (Register, Unregister, Show, Hide) and the correct use of text. It becomes visible when it focuses, and the virtual keyboard entries correctly update the existing text in Textfield, as well as cleaning icon in Textfield (Iconbutton) both Textfield is cleanroleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2201_2400_eng.csvreporow_in_file195statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002413messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow do I create a minimal Flutter application using `WidgetsApp` that displays the text 'C8H10N4O2' using the 'Piazzolla' font and scientific subscript formatting (scientific inferiors)?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file13statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002425messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can we use `FocusableActionDetector` to manage keyboard shortcuts (e.g., the 'X' key) and mouse interactions (hover, focus, click) for a custom reusable button component (`FadButton`)? The component should update its state, change color based on focus/hover, and handle actions/shortcuts. Provide a complete example showing this custom button alongside standard Flutter buttons.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file25statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002426messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you create and manage an `AnimatedGrid` with a maximum item width that supports animated addition and removal? Demonstrate how to animate the selection of grid elements (using scaling and color changes) and how to use strategies like `GlobalKey`, `RemovedItemBuilder`, and a custom `ListModel` class to optimize performance and state management.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file26statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002429messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can we create a dynamically modifiable list with insert and delete animations using `AnimatedList.separated`? Explain the architecture and code structure, including the roles of a custom `ListModel` class, item builders (`_buildItem`), separator builders (`_buildSeparator`), and removed item builders, using custom `CardItem` and `ItemSeparator` widgets.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file29statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_002449messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you create a custom layout using `CustomMultiChildLayout` and `MultiChildLayoutDelegate` that arranges colored containers (Red, Green, Blue, Cyan) in a cascading pattern (overlapping by 30.0 pixels both horizontally and vertically) based on the text direction (LTR/RTL)? Provide a complete implementation demonstrating the layout principles, optimization strategies, and text direction handling.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file49statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002453messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you create a menu that organizes a series of icons horizontally and opens/closes in an animated manner using the `Flow` widget, `AnimationController`, and a custom `FlowDelegate`? The menu elements should be automatically dimensioned according to the screen size, emphasize the touched element, and animate smoothly.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file53statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyeasyidseed_002454messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, in a Scaffold covering the entire home screen, how do you write the Flutter code that is necessary to create a blue-framed DecoratedBox that covers 50% of both the width and height of the screen using the FractionallySizedBox widget?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file54statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyeasyidseed_002455messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how to create a stateful interface that dynamically changes the text of a particular button by using the `IgnorePointer` widget to disable and re-activate user interaction? In the interface, there should be a text label that shows the current `IgnorePointer` status (true/false), an `ElevatedButton`, and a `FilledButton` that changes the status of the `IgnorePointer`; at the same time, the text of the `FilledButton` should change dynamically according to the current situation (\ or \). Explain how this interface will be configured in a basic Flutter application using `MaterialApp` and `Scaffold` widgets and how to manage the state using `setState`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file55statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002456messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow can we implement a Flutter application using StatefulWidgets, GestureDetectors, and an IndexedStack to manage a list of people (initially containing 'Dash', 'John', and 'Mary')? The app should allow adding new people via a TextField, incrementing an individual score for each person, and navigating through the people in the IndexedStack using gesture-based navigation buttons.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file56statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002461messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, when using the `Offstage` widget, the child widget is still laid out even when `offstage` is true. How can we reliably retrieve the size of an invisible `FlutterLogo` widget using a `GlobalKey` without causing rendering errors, and under what conditions is this size information guaranteed to be valid? Provide a complete Flutter example demonstrating this.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file61statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyeasyidseed_002469messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do we create an interface in the middle of the screen using a StatefulWidget that asks the user for the next number in the Fibonacci series (1, 1, 2, 3, 5, 8...)? The interface should use a TextEditingController to manage the TextField's content (and dispose of it to prevent memory leaks). If the user enters '13', show an AlertDialog saying 'That is correct!'.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2401_2600_eng.csv", "repo": null, "row_in_file": "69", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002470", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do you create a TextField that supports inserting images directly from the keyboard (e.g., via IME/gif keyboard), displays the inserted image on screen, and manages resources efficiently using a StatefulWidget and ContentInsertionConfiguration?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2401_2600_eng.csv", "repo": null, "row_in_file": "70", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "easy", "id": "seed_002472", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do we use TexteditingController to set the initial value of a Textfield Widget to \"Flutter\" and position the cursor at the beginning of this value (0. Index), how do we use TexteditingController and how to properly cleanse and automatically focus Textfield?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2401_2600_eng.csv", "repo": null, "row_in_file": "72", "status": "P1_partial", "type": "seed"}, "task_type": "api_usage"}
|
| {"difficulty": "medium", "id": "seed_002474", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do you programmatically unfocus a TextField using different `UnfocusDisposition` behaviors? Provide a complete example of a white-background application containing multiple TextFields, radio buttons to select the `UnfocusDisposition` value, and an 'UNFOCUS' button that triggers the unfocus action based on the selected disposition.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2401_2600_eng.csv", "repo": null, "row_in_file": "74", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002478", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do I create an interface consisting of two `Pane` widgets that use `FocusScope` to manage focus? The background pane should have a 'close' button, and the foreground pane should have a 'menu' button. When the 'menu' button is clicked, the foreground pane should animate down to reveal the background pane, and focus should shift to the background pane. How can I control the focusability (`canRequestFocus`) of the background pane based on the animation state?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2401_2600_eng.csv", "repo": null, "row_in_file": "78", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002482", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, when a user tries to exit the application without saving changes made in a form, how can we show a customizable warning dialog? Specifically, how do we use the `Form` widget's `canPop` and `onPopInvokedWithResult` properties to manage the form's dirty state, determine when to show the dialog, and handle the application exit based on the user's selection?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file82statusP1_partialtypeseedtask_typeapi_usage |
| difficultyeasyidseed_002496messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow do we create a `StatefulWidget` in Flutter that displays a centered box containing a Flutter logo using the `AnimatedContainer` widget? When tapped, its width, height, color, and alignment should animate over 2 seconds with a smooth transition using the `Curves.fastOutSlowIn` curve.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file96statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002497messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you create an interactive and animated visual component where the size (widthFactor and heightFactor) of a Flutter logo, located inside a ColoredBox, changes along with its alignment and color based on user interaction (tap) with a predetermined speed and curve? Provide an example using the AnimatedFractionallySizedBox widget, demonstrating state management for the selection state.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file97statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyeasyidseed_002498messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can we effectively use the`Animatedpadding`widget, which changes the fill of a container to animated, triggered by user interaction and provides a soft transition using the`Easeinout`curve; This use should be triggered through a button that changes the filling value between 0 and 100, includes a text label that shows the existing filling value, and to fully understand how this animated fill affects the dimensions and position of the container in different sizes of the screen, the basic structure of the application, the status management and the user interface elements (button, text label, animated and container)?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file98statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002499messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can we create a reusable and customized AnimatedPositioned widget that animates the size and position of a ColoredBox based on user interaction, using a pre-defined duration and curve?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file99statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002501messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow do you create a Flutter user interface that uses a FloatingActionButton to trigger an animated visibility transition (using SliverAnimatedOpacity) on a SliverFixedExtentList?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file101statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_002522messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn a Flutter application using nested navigators, how can we handle system back gestures to either pop the nested navigator or return to the main page? Specifically, show how to use `NavigatorPopHandler` with a `GlobalKey<NavigatorState>` to manage a nested navigator that starts at `nested_navigators/one` and can navigate to `nested_navigators/one/another_one`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file122statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_002523messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentCreate a Flutter application demonstrating nested navigation with state restoration across tabs in a `BottomNavigationBar`. The application should use `RestorationMixin`, `RestorableValue`, `NavigatorPopHandler`, and `GlobalKey<NavigatorState>` to maintain tab and page stacks on restart and handle back button behavior correctly for each tab.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file123statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002528messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you create a basic application using `NestedScrollView`, `SliverAppBar`, and `TabBarView` (with lists for 'Months' and 'Days') that uses a `NotificationListener` to detect and print the start and end of scroll events to the console?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file128statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002530messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn a Flutter application, how can we create a dynamic overlay that highlights a selected item in a `NavigationBar`? When a destination is selected, we want to draw a colored frame over it with explanatory text and an arrow icon, ensuring the overlay is within a `SafeArea`. The overlay should update dynamically based on the selected item, and we must properly manage the lifecycle of the `OverlayEntry` (creation, updating, and removal) to prevent memory leaks. Provide a clean, readable, and tested code structure using `OverlayEntry`, `Overlay`, `StatefulWidget`, `AlignmentDirectional`, `SafeArea`, and `NavigationBar`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file130statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002535messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, when switching between BottomNavigationBar tabs, how can we preserve the scroll position and other widget states (such as TextField content) to prevent them from being recreated? Provide a clean, reusable solution using PageStorage, PageStorageBucket, and PageStorageKey.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file135statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002536messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow do you integrate Flutter components such as `TabController`, `TabPageSelector`, and `IconButton` to create an interactive page indicator for a three-page `PageView`? The indicator should be designed for desktop and web platforms (using conditional rendering to return `SizedBox.shrink()` on mobile), synchronize the page index, and provide smooth animated transitions between pages.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file136statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_002537messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, when using a dynamic data list (which can be reversed or reordered) inside a `PageView.custom` widget, how can we ensure that the state of the pages (created with `SliverChildBuilderDelegate`) is preserved correctly? Specifically, how do we implement `findChildIndexCallback` using `ValueKey` to handle reordering, and integrate `AutomaticKeepAliveClientMixin` to minimize memory impact while keeping pages alive? Provide a complete, working implementation.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file137statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002539messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you use the `PopScope` widget to prevent the default system back behavior (by setting `canPop` to `false`) and customize the back navigation using `onPopInvokedWithResult`? Specifically, show how to prompt the user with a confirmation dialog before leaving a form page, and explain how to manage the data flow by creating and comparing copies of a custom data class when returning to the previous page.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file139statusP1_partialtypeseedtask_typeapi_usage |
| difficultymediumidseed_002544messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, I would like to create a simple counter application using state restoration to maintain its application status. In this application, a widget must be created that increments an integer value (initially 42) one by one when clicking an `OutlinedButton` and shows this value on the screen. When the application is closed and re-opened, `RestorationMixin` and `RestorableInt` should be used to prevent the value of this counter from disappearing. Meeting these requirements, how do I write a complete Flutter code containing `RestorableValueExampleApp` and `RestorableValueExample`?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file144statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002548messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow do you design and implement a clean architecture in Flutter to listen to navigation events (such as pushing a page or returning to a previous page) and notify relevant widgets using the `RouteObserver`, `RouteAware`, and `NavigatorObserver` classes?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2401_2600_eng.csvreporow_in_file148statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_002550messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, using Inheritedmodel, both through the Sliders who dynamically adjusts both Edgeinsets values (upper notch, side gaps, sub-indicator), as well as the Switchlistililes that allow the display/hide of Safearea Widget and Appbar, and thus adjust this to affect the safety field and appearance of the application. Easily accessible and updated in different parts of the application (for example, safeareaexampleapp, safeareaexample), taking into account the performance optimization of Inheritedmodel's aspect feature?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2401_2600_eng.csv", "repo": null, "row_in_file": "150", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002561", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, when the order of elements in a `ListView.custom` with `SliverChildBuilderDelegate` changes, how do we use `AutomaticKeepAliveClientMixin` to prevent re-creation of elements, and how do we implement the `findChildIndexCallback` function using `ValueKey` to find the new index of the items?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2401_2600_eng.csv", "repo": null, "row_in_file": "161", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002568", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, explain how to share and mutate data safely across the widget tree without using global variables, external state management libraries, or custom `InheritedWidget` subclasses, by leveraging the built-in `SharedAppData` class. Provide a complete implementation showing how to define a `SharedObject`, access it using `SharedAppData.getValue`, update it using `SharedAppData.setValue` to trigger rebuilds, and initialize it when the application first opens. Show how a `CustomWidget` reads and updates this shared object.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2401_2600_eng.csv", "repo": null, "row_in_file": "168", "status": "P1_partial", "type": "seed"}, "task_type": "api_usage"}
|
| {"difficulty": "medium", "id": "seed_002594", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter application, how can I apply the platform -specific system context menu (copy, paste, cut, etc.) in a Textfield, depending on whether this menu system is supported to the system menu or adaptive toolbar, so that the application will maintain both the local experience of the platform?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2401_2600_eng.csv", "repo": null, "row_in_file": "194", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_002596", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, to create a special number of entry fields (for auction and reduction functions) containing a`Textfield`and two`Outlinedbutton`, to control the value of this area with the keyboard arrow keys, to ensure that the value entered is only numerical, and to ensure that this special number of entrance space is included in the`Textfielddtapregion`How to designed and apply`spinnerfield`widget and a specific`Interspinerfield`widget; In this design, when the value in the text field changes or increases/reduction buttons are pressed, how to integrate the behaviors such as updating the value, defining the keyboard shortcuts and automatically focusing the text field, and how to protect the content of the text field in case of reconstruction of Widget?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2401_2600_eng.csv", "repo": null, "row_in_file": "196", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_002599", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how can I customize the default magnifier behavior of a TextField widget (specifically changing its shape, border color/thickness, size, focal point, and scale, as well as constraining its position to the text line boundaries)? How do I ensure it supports both Left-to-Right (LTR) and Right-to-Left (RTL) text directions?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2401_2600_eng.csv", "repo": null, "row_in_file": "199", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002601", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how can we create an application that allows a green square with 'Whee!' text to rotate in 10-second loops using AnimationController, TickerProviderStateMixin, AnimatedBuilder, and Transform.rotate, specifically preventing the re-creation of AnimatedBuilder's child parameter? Provide the complete code.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file1statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyeasyidseed_002607messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, I would like to create a simple application that represents a counter using `ValueNotifier` on the screen through a `ListenableBuilder` widget, and also increases the value of the counter with a `FloatingActionButton`. It should include a `ListenableBuilderExample` stateful widget that forms the main structure of the application, with its state `_ListenableBuilderExampleState`. It must also include a `StatelessWidget` named `CounterBody`, which displays the value of the counter. How do I create Flutter code that meets these requirements, accurately updates the value of `ValueNotifier` with `ListenableBuilder`, and uses basic Material Design elements?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file7statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002608messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do we optimize performance using the `ListenableBuilder` widget and a `ChangeNotifier` to update a counter value in the interface? Specifically, when the `_count` variable of the `CounterModel` class is increased via the `increment` method, we want to rebuild only the relevant `Text` widget inside the `builder` function to prevent unnecessary rebuilds of the rest of the widget tree. How do we configure the `ListenableBuilder` widget correctly, connect the `CounterModel` instance to it, and instantly update the counter value on the screen when a `FloatingActionButton` is pressed?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file8statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002618messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentUsing Flutter, I would like to create a clicked interaction that softly changes the size of a Iconbutton to its tweananimationbuilder widget softly; In this interaction, every time Iconbutton is clicked, the size will be between 24.0 and 48.0, the animation time will be 1 second, Iconbutton's color will be blue and will show the \"aspect_ratio\" icon, but it will prevent the unnecessary re-scratching of the tweanimationbuilder's Builder function for performance optimization (for example How can I do it in a way by using it as a parameter?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file18statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002621messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, the `side` property of the `FilterChip` widget allows applying customized borders based on different widget states (such as pressed, hovered, or selected). How can we configure a `FilterChip` to show a green border when pressed, a blue border when hovered, and a red border when selected, ensuring the border updates correctly when the selection state changes?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file21statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_002622messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can we dynamically change the mouse cursor of a `ListTile` based on its `enabled` state using a custom `WidgetStateMouseCursor`? Provide a complete example where a `Switch` toggles the `ListTile`'s enabled state, and the cursor changes between `SystemMouseCursors.forbidden` (when disabled) and `SystemMouseCursors.click` (when enabled).", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2601_2800_eng.csv", "repo": null, "row_in_file": "22", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_002624", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, using the `flutter_test` library, how do you write a widget test for the `AnimatedDigitApp` widget (from `flutter_api_samples/animation/animation_controller/animated_digit.0.dart`)? The test should verify the initial value, the increment mechanism via a FloatingActionButton, and the animation transitions using `pump()` and `pumpAndSettle()`.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2601_2800_eng.csv", "repo": null, "row_in_file": "24", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "medium", "id": "seed_002625", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How do I write an automated Flutter UI test for the `Curve2DExampleApp` widget? The test should find a `CircleAvatar` containing the letter 'B' moving along a 2D curve. It needs to advance the animation in steps using the `pump` method, and verify the widget's position at each step against a list of expected coordinates using the `moreOrLessEquals` matcher with an epsilon of 1 to tolerate small shifts.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file25statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002636messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you write a widget test for `CupertinoPopupSurface` to verify that a `ColoredBox` is displayed when a controlling `CupertinoSwitch` is active, and that the `ColoredBox` does not appear when the switch is toggled to inactive?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file36statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002640messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow do you write a Flutter widget test to verify the properties of a `CupertinoListTile` (such as title, subtitle, leading, trailing, and background color) using `find.text`, `find.byIcon`, `find.byKey`, and `tester.firstWidget`?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file40statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002647messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn the Flutter test environment, `flutter_api_samples/cupertino/picker/cupertino_picker.0.dart` defines the `CupertinoPickerApp` widget. We aim to test the manipulation of selected elements in `CupertinoPicker`. By simulating user interactions (such as drag and touch actions), we verify that the text content of the `CupertinoButton` widget changes as expected and the `CupertinoPicker`'s `scrollController` initial item is updated. How is such a test scenario designed and implemented?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2601_2800_eng.csv", "repo": null, "row_in_file": "47", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "medium", "id": "seed_002667", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How do I write a Flutter widget test to verify that a CupertinoFormSection contains five CupertinoTextFormFieldRow widgets, and that entering text into the first row correctly updates and displays the text?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2601_2800_eng.csv", "repo": null, "row_in_file": "67", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "medium", "id": "seed_002683", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Using Flutter widget testing, write a test to verify whether the `AppBarExampleApp` widget's `AppBar` has a custom shape (`CustomAppBarShape`). Also, write a test scenario to verify whether a `TextField` widget is found in the bottom/subtitle of the `AppBar`. Demonstrate how to use the Flutter testing tools and functions: `find.descendant`, `find.byType`, `tester.pumpWidget`, and `tester.widget`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file83statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002685messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you write a widget test for `AppBarMediumApp` (which uses a `SliverAppBar`) to verify the number of `IconButton` widgets, the initial and post-scrolling position of the title text, and its style after scrolling?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file85statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002692messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you write widget tests for an `Autocomplete` widget that uses a fake API delay and debounce duration, including testing search filtering, debounce resetting, and displaying error messages on network errors?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file92statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002701messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWhen `AnimationStyle` is used to customize the opening and closing animations of a BottomSheet opened with the `showBottomSheet` function in a Flutter application, how can we write a Widget test that confirms different `AnimationStyle` configurations correctly customize the animation by measuring the vertical position (DY) of the BottomSheet at specific millisecond intervals?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file101statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002708messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWrite a Flutter widget test using the `flutter_test` package to verify that the `Card` widget in the `CardExampleApp` from `flutter_api_samples/material/card/card.1.dart` has its `clipBehavior` property set to `Clip.hardEdge` by default.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file108statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_002728messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, when testing a customized context menu (right-click menu) built using `contextMenuBuilder` on a `SelectableRegion`, how can we write a widget test to verify that the `AdaptiveTextSelectionToolbar` containing a 'Print' option appears on a secondary click (right-click) and disappears when the primary mouse button (left-click) is clicked elsewhere?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file128statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002745messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWrite a Flutter widget test to verify the layout order of a `VerticalDivider` and two `Card` widgets in `VerticalDividerExampleApp`. Specifically, prove that the first card is to the left of the divider and the second card is to the right of the divider by comparing their coordinates.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file145statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_002752messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you write an atomic UI test to verify that the mouse cursor (text, click, or basic) correctly displays the expected behavior when hovering over different DropdownMenu/TextField elements? Specifically, how can we use RendererBinding to assert that the active cursor matches the expected SystemMouseCursors value?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file152statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002769messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, write a widget test for the `IconButtonApp` widget defined in `icon_button.2.dart`. The test should verify that there are 8 `IconButton` widgets using the `Icons.filter_drama` icon. It should confirm that 4 of these IconButtons are active (i.e., their `onPressed` callback is a valid `VoidCallback`) and the other 4 are disabled (i.e., their `onPressed` callback is null).roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file169statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_002775messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do we write an automated widget test to verify the interaction between `TextInputAction.done`, `InputChip` deletion, and the `ChipsInputState` object, specifically covering the `kObjectReplacementChar` mechanism in `ChipsInputEditingController`?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file175statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002777messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you write a widget test to verify that a TextField Widget from the 'input_decoration.1.dart' sample is correctly decorated with an InputDecoration, specifically checking that its 'hintText' is present, 'contentPadding' is set to EdgeInsets.zero, and 'border' is an OutlineInputBorder?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file177statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002778messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, the `flutter_api_samples` package contains the `InputDecorationExampleApp` widget in `input_decoration.2.dart`. This widget contains a `TextField` with hint text and error text. What is the code required to create a widget test that verifies the `TextField` is present and its `decoration` is not null?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file178statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002788messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do we test how the `decoration` property of `TextFormField` changes based on different widget states (e.g., focused, unfocused), specifically ensuring that `prefixIconColor` gets different colors (grey and green respectively) in default and focused states using `MaterialStateExampleApp`? Show how to apply the scenario, verify the state-based color changes by using `WidgetStateColor` in this test scenario, and evaluate the state-based behavior of `InputDecoration`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file188statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002789messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow do we write a Flutter widget test to verify that the `prefixIconColor` of a `TextFormField` dynamically updates based on its `WidgetState` (e.g., default, focused, error), and also validates that entering an invalid URL (e.g., missing '.com' TLD) displays the correct error message?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file189statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002794messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can we write a widget test to automatically verify that the `leading` (a `CircleAvatar`) and `trailing` (an `Icon`) widgets of a `ListTile` are correctly aligned and positioned at expected offset values (e.g., (16.0, 16.0) and (752.0, 24.0)) relative to the `ListTile`?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2601_2800_eng.csvreporow_in_file194statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_002805messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you write a Widget test to verify a context menu opened with the secondary mouse button? The test should ensure that menu elements are displayed correctly, keyboard navigation (arrow keys and Enter) works, and shortcut keys (e.g., Ctrl+S, Ctrl+R, Ctrl+G, Ctrl+B) trigger the correct menu actions, including showing/hiding messages and updating the selected state.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file5statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002806messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWrite a Flutter widget test to verify that tapping an IconButton opens a MenuAnchor displaying three MenuItemButton elements labeled 'Item 1', 'Item 2', and 'Item 3'.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file6statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002807messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you write a minimal and complete widget test for the `SimpleCascadingMenuApp` widget (from `flutter_api_samples/material/menu_anchor/menu_anchor.3.dart`) to verify that tapping the IconButton opens and closes the menu?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file7statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002821messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow can we write a widget test in Flutter to verify the sorting and paging functionality of a `PaginatedDataTable` (specifically `DataTableExampleApp`), ensuring that 'Strange New Worlds' is visible on the first page, disappears after sorting, and behaves correctly when navigating pages?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file21statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002833messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, a custom radio button component `LabeledRadio` is defined. To test its selection behavior, an application `LabeledRadioApp` is created. Write a detailed UI test scenario using the Flutter test framework to verify that the initial state of the radio buttons, user interaction (tapping), and the post-interaction `value` and `groupValue` properties change as expected.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file33statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002834messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you write a widget test using the `flutter_test` package to verify that a `RadioListTile` group's state updates correctly? Specifically, write a test for `RadioListTileApp` that verifies the initial `groupValue` is `SingingCharacter.lafayette`, and after tapping the second radio button, the `groupValue` updates to `SingingCharacter.jefferson`.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2801_3000_eng.csv", "repo": null, "row_in_file": "34", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_002837", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do we test the interaction of a `RangeSlider` widget using `WidgetTester`? Specifically, write a widget test using the `flutter_test` library and `find.byWidgetPredicate` to simulate dragging movements on a `RangeSlider` with 5 divisions between 0 and 100, verifying that the values update correctly (e.g., to `RangeValues(0, 80)` and `RangeValues(20, 80)`) based on the drag coordinates.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2801_3000_eng.csv", "repo": null, "row_in_file": "37", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "medium", "id": "seed_002844", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, write a widget test for a `ReorderableListView` that simulates reordering an item by long-pressing and dragging it. Use `TestGesture` with the correct gesture timeouts to simulate the long press, and verify that the item's vertical position changes after the drag.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file44statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002872messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you write a widget test for a `SegmentedButton` customized with `SegmentedButton.styleFrom`? Specifically, how can you verify the `foregroundColor` and `backgroundColor` for both selected and unselected states by finding the ancestor `Material` widget of a text label using `find.ancestor` and `find.byType`?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file72statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002880messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn a Flutter application with two `Slider` widgets, the first slider's `secondaryTrackValue` is synchronized with the value of the second slider. Write a comprehensive widget test using the `flutter_test` library to verify this behavior. The test should simulate a touch/tap movement on the second slider and assert that the first slider's `secondaryTrackValue` updates accordingly, using the `closeTo` matcher to handle tolerance.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file80statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002896messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow can we write Flutter widget tests for a TabBar and TabBarView interface managed by a DefaultTabController to cover these scenarios: 1) Verify the first tab is selected by default. 2) Verify that tab changes are logged via debugPrint. 3) Verify that DefaultTabControllerListener throws an expected FlutterError when used without a DefaultTabController?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file96statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002901messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, using the `TextButtonExampleApp` example, how can we design and implement a widget test scenario to verify that the various `TextButton` widgets (with different text, states, icons, styles, and the smiley button visual updates) and `Switch` widgets respond correctly to user interactions and exhibit the expected visual changes?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file101statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002903messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can I write a widget test for a widget named `TextFieldExampleApp` that contains a `TextField` with a 'Password' label and obscured text, to verify that `obscureText` is true and the label text matches?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file103statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002904messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you write a widget test to verify that an `AlertDialog` correctly displays the text entered in a `TextField` along with its correct length (handling emojis and special characters using `characters.length`) after pressing the 'Done' action? Assume the widget under test is `TextFieldExampleApp`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file104statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002905messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWhen a Flutter application contains two text fields in 'TextFieldExamplesApp' with 'Filled' and 'Outlined' styles, featuring PrefixIcon, SuffixIcon, LabelText, HintText, and HelperText, how should widget tests be written to verify they are created correctly? How can we comprehensively assert that both TextField types have the expected UI elements and correct property values?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file105statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002918messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you write an automated UI test for an application (`example.ExampleApp`) containing radio buttons that change the `AxisDirection`? The test should confirm that when the direction is changed to `AxisDirection.up`, the UI updates correctly (e.g., displaying 'AxisDirection.up', 'Axis.vertical', 'GrowthDirection.forward', and the corresponding 'Icons.arrow_upward_rounded' icons).roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file118statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002920messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you write a widget test to verify the pixel-level visual appearance of a `MoodyGradient` widget using a golden file comparison and wrapping it in a `RepaintBoundary`?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file120statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002932messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you write a widget test to verify the behavior of an application that handles exit requests? The UI contains 'No exit requested yet', 'Do Not Allow Exit', 'Allow Exit', and 'Quit' buttons. The test should verify that tapping 'Quit' changes the status to 'App requesting cancelable exit'.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file132statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002940messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWhat is the Flutter code required to write a widget test that confirms that a `Text` widget inside `ExampleWidget` uses the 'Raleway' font family and has its font features set to `FontFeature.alternative(1)`?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file140statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002942messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can we write a widget test to verify that a Text widget correctly applies the 'Piazzolla' font family and the FontFeature.caseSensitiveForms() font feature?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file142statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002972messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, when using the `AnimatedList.separated` widget, how do you write an automated widget test to verify that items and separators are correctly displayed, added, and removed with animations? Which `WidgetTester` methods and `Finder` types (such as `find.text` and `find.byIcon`) are used for this?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_2801_3000_eng.csvreporow_in_file172statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_002985messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do we write a widget test to verify a form that uses the `AutofillGroup` widget? The form contains a 'Shipping Address', 'Billing Address', multiple `TextField`s, a `Checkbox`, and a 'Contact Phone Number', utilizing autofill features. The test should verify the behavior when the checkbox is toggled (which changes the form's interface), checking the number of text fields, the checkbox status, and the specific `AutofillHints` on the text fields.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2801_3000_eng.csv", "repo": null, "row_in_file": "185", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "medium", "id": "seed_002997", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Write a Flutter widget test using `flutter_test` to verify that a `FractionallySizedBox` correctly scales a `DecoratedBox` child. The test should assume screen dimensions of 800x600, an AppBar height of 56.0, and width/height factors of 0.5. Use `WidgetTester` to verify the dimensions of the `DecoratedBox`.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_2801_3000_eng.csv", "repo": null, "row_in_file": "197", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "medium", "id": "seed_003012", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, using the `OnChangedExampleApp` widget from `package:flutter_api_samples/widgets/editable_text/editable_text.on_changed.0.dart`, how do you write a complete widget test suite that confirms the correct labels are displayed, the dialog is shown/hidden based on the answer, and the dialog is closed when the 'OK' button is pressed?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3001_3200_eng.csv", "repo": null, "row_in_file": "12", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "medium", "id": "seed_003024", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Assuming that an application part containing a basic form verification functionality in Flutter is assumed to include an Appbar with a \"Form Sample\" title, a Textfield and an Elevatedbutton, to test the user interactions (empty shipping, text input and valid shipment) and to verify the functionality of the Flutter Test Libra How to improve a comprehensive Widget test that confirms verification messages and reactions to user inputs, and how to read and verify the value of Textfield's controller, trigger the button and update the interface accordingly?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3001_3200_eng.csvreporow_in_file24statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_003028messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you write a widget test using `WidgetTester` to verify a `GestureDetector` behavior? The widget contains a lightbulb icon (initially black with `Icons.lightbulb_outline` and text 'TURN LIGHT ON'). Tapping the `GestureDetector` should toggle the icon's color to `Colors.yellow.shade600` and text to 'TURN LIGHT OFF', and tapping it again should revert them. Provide a detailed test scenario using functions like `pumpWidget`, `find.byIcon`, `find.text`, `find.byType`, `tap`, and `expect`.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3001_3200_eng.csv", "repo": null, "row_in_file": "28", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "medium", "id": "seed_003029", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Write a Flutter widget test for `GestureDetectorExampleApp` to verify that tapping the `GestureDetector` toggles the `Container`'s color between white and yellow.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3001_3200_eng.csvreporow_in_file29statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_003046messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow can we write a Flutter widget test using the `flutter_test` library to verify the transformation matrices (such as the identity matrix and rotations around the Z-axis at specific intervals) of a `Transform` widget wrapping a 'Whee!' text widget, covering the initial state, intermediate steps, and the full rotation cycle?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3001_3200_eng.csvreporow_in_file46statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_003054messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWrite a Flutter widget test that verifies that when a `CupertinoTextField` is long-pressed, the `CupertinoTextMagnifier` widget is correctly displayed. Assume the widget is hosted inside `CupertinoTextMagnifierApp` from the Flutter API samples.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3001_3200_eng.csvreporow_in_file54statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_003092messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow do you write a Flutter widget test to verify page transitions using `RouteObserver` and `RouteAware`? Specifically, how can we test that the `didPush` and `didPopNext` lifecycle methods are triggered the expected number of times when navigating forward and back, and which `WidgetTester` methods and assertions should be used?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3001_3200_eng.csvreporow_in_file92statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_003109messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWrite a Flutter widget test using the `flutter_test` library that verifies that the `example.ScrollbarApp` widget contains exactly 3 `Scrollbar` widgets when running on the desktop platform, using `TargetPlatformVariant.desktop()`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3001_3200_eng.csvreporow_in_file109statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_003143messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, a special magnifier in Textfield, displaying the widget of the widget and to test the behavior of this enlarger (positioning, appearance, interaction, etc.), especially in text selection and dragging processes, transform the text positions of the Rendereditable object into the world coordinates, and to manipulate the endpoints (endpoints). How to create and confirm comprehensive and reliable test scenarios covering, in these test scenarios from right to left (RTL) language support, platform differences (iOS, Android) and asynchronous procedures (animations, redraws), how to guarantee the expected location, content and interaction of the magnificent?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3001_3200_eng.csvreporow_in_file143statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_003149messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow do you write a comprehensive widget test for `FadeTransitionExampleApp` (from `fade_transition.0.dart`) containing a `FlutterLogo` inside a `FadeTransition`? The test should verify that the animation values at the start, middle, and end points match the expected values calculated using the specified duration (`FadeTransitionExampleApp.duration`) and curve (`FadeTransitionExampleApp.curve`), and that the animation cycle completes correctly.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3001_3200_eng.csvreporow_in_file149statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_003166messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn the `WidgetStateMouseCursorExampleApp` widget, a `ListTile`'s `enabled` state is controlled by a `Switch` widget. Write a Flutter widget test scenario to verify that the mouse cursor changes to `SystemMouseCursors.click` when the `ListTile` is enabled, and to `SystemMouseCursors.forbidden` when it is disabled. The test should simulate mouse movement gestures and verify the active cursor.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3001_3200_eng.csv", "repo": null, "row_in_file": "166", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "easy", "id": "seed_003173", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Create a Dart entry point for a Flutter Driver integration test that enables the Flutter Driver extension and runs the main application.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3001_3200_eng.csv", "repo": null, "row_in_file": "173", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003177", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Write a low-level Flutter application using `dart:ui` that renders a custom scene. The scene should draw a square with a yellow-blue gradient in the center, rotated 45 degrees, a green translucent circle scaled by 0.5, and a red translucent circle at (150, 300). Apply a difference clip (`ClipOp.difference`) to exclude a rectangular area, and scale the rendering according to the device's pixel density using `SceneBuilder`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3001_3200_eng.csvreporow_in_file177statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_003178messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, write a minimal, self-contained application using `dart:ui` and `PlatformDispatcher.onBeginFrame` that draws the text 'Hello, world.' centered on the screen. The text should be scaled according to the device's pixel ratio and logical dimensions, ensuring it displays correctly across different screen densities and dimensions.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3001_3200_eng.csv", "repo": null, "row_in_file": "178", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003180", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do you create a low-level dynamic UI element (such as text on a green rectangle in the center of the screen) with multi-language support, using the `dart:ui` APIs like `PlatformDispatcher`, `ParagraphBuilder`, `Canvas`, and `SceneBuilder` while accounting for the device's pixel ratio and physical size?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3001_3200_eng.csvreporow_in_file180statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_003188messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can we create a custom `RenderSolidColorBox` that extends `RenderDecoratedBox`? The class should take a `desiredSize` (defaulting to `Size.infinite`) and a `backgroundColor` as parameters. If a dimension of `desiredSize` is infinite, it should be treated as 0.0 in the intrinsic width/height calculations. We need to override `computeMinIntrinsicWidth`, `computeMaxIntrinsicWidth`, `computeMinIntrinsicHeight`, `computeMaxIntrinsicHeight`, and `performLayout`. Additionally, how can we handle pointer events using `handleEvent` to change the background color to red on `PointerDownEvent` and restore it on `PointerUpEvent`?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3001_3200_eng.csvreporow_in_file188statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_003223messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow can I build a Flutter application that displays a dialogue from '2001: A Space Odyssey' with custom rich text styling for each speaker (Dave and HAL), allows toggling between styled and plain text on tap, and maintains a clean, sustainable code structure?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3201_3400_eng.csvreporow_in_file23statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_003277messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentCupertino design language, to create customizable list items, both basic (base) and notched (notched) support support, title, subtitle, sub-title, additional information, leading widgets, which can include widgets, sensitive to touch interaction, minimum height, filler, text styles and colors, such as the fine adjustment of various visual parameters. How can we create a reusable Flutter Widget and how can we manage the behavior and appearance of this widget's different configurations (for example, non-sub-title, leading widget)?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3201_3400_eng.csv", "repo": null, "row_in_file": "77", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003289", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do you design and apply a reusable, flexible, and accessible iOS-like modal bottom sheet transition that supports nested navigation, adapts to different themes, and handles drag-to-dismiss gestures? Provide an implementation using `CupertinoSheetTransition`, `_CupertinoDownGestureDetector`, and `_CupertinoDownGestureController` classes.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3201_3400_eng.csv", "repo": null, "row_in_file": "89", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_003303", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how can we configure the visual style of Cupertino switch and slider thumbs using a custom `CupertinoThumbPainter` class and related constants (such as colors and shadows)? Explain how to use the `color` and `shadows` properties, customize them with shadows like `_kSliderBoxShadows`, and paint them on a canvas.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3201_3400_eng.csv", "repo": null, "row_in_file": "103", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003312", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Dart Web applications, how do you determine both the real device platform and test environments in a correct and reliable way to implement platform-specific behavior? Specifically, how is the value of the `defaultTargetPlatform` variable determined? Explain the priority order and circumstances under which `debugDefaultTargetPlatformOverride`, `debugEmulateFlutterTesterEnvironment`, `browser.operatingSystem`, and `_operatingSystemToTargetPlatform` are used, and how this ensures consistency and accuracy across production and test environments.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3201_3400_eng.csv", "repo": null, "row_in_file": "112", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003323", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Dart, how do you design and implement a customizable `consolidateHttpClientResponseBytes` function and a `BytesReceivedCallback` to reliably process data from an `HttpClientResponse`? The solution should automatically handle compression (gzip), track download progress (providing cumulative bytes and total expected size), handle errors gracefully (including memory cleanup), and optimize performance and memory consumption for large downloads.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3201_3400_eng.csv", "repo": null, "row_in_file": "123", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_003332", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In a Flutter application, how can we design a utility function that returns the runtime type of an object as a string during development (using `assert` to perform the expensive operation), but returns a pre-defined optimized string in production mode to maximize performance?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3201_3400_eng.csv", "repo": null, "row_in_file": "132", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003336", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Dart and Flutter, implement the `debugPrint` utility, including both synchronous (`debugPrintSynchronously`) and throttled (`debugPrintThrottled`) variations. Show how the throttled version manages console output limits using a queue, `Timer`, and `Completer` (with a capacity like `_kDebugPrintCapacity`). Additionally, implement the `debugWordWrap` helper function, which wraps text at a specified width, handles indentation patterns (`_indentPattern`), and uses a state machine with word-wrap parse modes (`_WordWrapParseMode`).", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3201_3400_eng.csv", "repo": null, "row_in_file": "136", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003339", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How would you design and implement a `StackFrame` class in Flutter/Dart to parse and represent stack trace lines from different platforms (VM, Web Debug, and Web Non-Debug) in a consistent format? The architecture should handle class names, methods, package information, as well as asynchronous suspensions and stack overflow elisions.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3201_3400_eng.csv", "repo": null, "row_in_file": "139", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003341", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Implement a high-performance timeline tracking system in Dart (`FlutterTimeline`) for measuring synchronous execution times during development. It should support start/finish sync blocks, aggregate timings, and minimize garbage collection overhead using custom chunked data structures like `_Float64ListChain`, `_StringListChain`, and `_BlockBuffer`.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3201_3400_eng.csv", "repo": null, "row_in_file": "141", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003356", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Implement a polynomial least squares solver in Dart. The solver should take `x`, `y`, and `w` (weights) lists, and fit a polynomial of a specified degree. It should include basic vector and matrix operations (such as dot product, norm, and QR decomposition) to solve the system and calculate the confidence interval (R-squared).", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3201_3400_eng.csv", "repo": null, "row_in_file": "156", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003368", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Implement the `Velocity`, `VelocityEstimate`, `VelocityTracker`, `IOSScrollViewFlingVelocityTracker`, and `MacOSScrollViewFlingVelocityTracker` classes in Flutter/Dart. The implementation should demonstrate how pointer input data is collected via `addPosition` and how velocity is estimated via `getVelocityEstimate` using strategies like least squares fitting (for the default tracker) and weighted moving averages (for iOS and macOS scroll views).", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3201_3400_eng.csv", "repo": null, "row_in_file": "168", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003399", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Implement a custom `MaterialBanner` widget in Flutter that supports both Material Design 2 and Material Design 3 styling. The widget must handle accessibility (screen readers and keyboard navigation), custom animations (height and slide transitions), and support parameters like `content`, `actions`, `elevation`, `leading`, `backgroundColor`, `surfaceTintColor`, `shadowColor`, `dividerColor`, `padding`, `margin`, `leadingPadding`, `forceActionsBelow`, `overflowAlignment`, `animation`, `onVisible`, and `minActionBarHeight`. It should also integrate with `ScaffoldMessenger` and use a `Hero` widget for transitions.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.95, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3201_3400_eng.csv", "repo": null, "row_in_file": "199", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003456", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How do you design and implement a comprehensive and flexible button theme management system in Flutter? Specifically, demonstrate the implementation of `FilledButtonThemeData` and `FilledButtonTheme` (as an `InheritedTheme`), including the `lerp` method for animations, the context-based `of` method, performance optimization via `updateShouldNotify`, and debugging support with `debugFillProperties`.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3401_3600_eng.csv", "repo": null, "row_in_file": "56", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003478", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How can we customize and control the appearance, positioning, and interaction of the text magnifier in Flutter (using TextMagnifier, Magnifier, MagnifierController, and MagnifierInfo) to provide a consistent experience across iOS and Android?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.95, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3401_3600_eng.csv", "repo": null, "row_in_file": "78", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003483", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how can we design and apply a mixin on a State class to manage interactive states (such as hovered, pressed, and disabled) and optimize rebuilds when these material states change?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3401_3600_eng.csv", "repo": null, "row_in_file": "83", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003520", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do you design a custom theme structure (`SearchViewThemeData` and `SearchViewTheme`) to control the appearance and behavior of a `SearchView` widget? The theme should cover parameters such as `backgroundColor`, `elevation`, `surfaceTintColor`, `side`, `shape`, `headerHeight`, `headerTextStyle`, `headerHintStyle`, `padding`, `barPadding`, `shrinkWrap`, and `dividerColor`. Explain how this theme affects sub-elements in the widget tree and how to support smooth transitions (interpolation) between themes at runtime.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3401_3600_eng.csv", "repo": null, "row_in_file": "120", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003584", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how is the `FractionalOffset` class designed to proportionally specify the position of an object within a rectangle? Provide an implementation extending the `Alignment` class, including factory methods (`fromOffsetAndSize`, `fromOffsetAndRect`), operator overloading (addition, subtraction, multiplication, division), pre-defined constants (like `topLeft`, `center`), and a `lerp` method.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3401_3600_eng.csv", "repo": null, "row_in_file": "184", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003588", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How can you convert image data from a `Uint8List` into a `ui.Image` in Flutter while properly managing the lifecycle of the codec and buffer to optimize performance and memory footprint?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3401_3600_eng.csv", "repo": null, "row_in_file": "188", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003593", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how can we implement a customizable linear border (LinearBorder) that provides separate size and alignment control for the start, end, top, and bottom edges, supports animated transitions (using lerpFrom and lerpTo), handles EdgeInsetsGeometry dimensions, respects TextDirection, and provides a copyWith method? Show the implementation of LinearBorderEdge and LinearBorder classes, including their drawing algorithms.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3401_3600_eng.csv", "repo": null, "row_in_file": "193", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003603", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Within the framework of the Flutter, to create customizable star shapes using the`border`interface, parametric controlable (number of corners, internal radius ratio, corner and valley rounding, rotation, compression) of this class and this class`larpfrom`,`Lerpto`,`Paint`, How can we design and implement their methods such as`Circleborder`,`Stadiumborder`,`Roundedrectangleborder`to provide soft transitions with other`Shapeborder`classes, so that visually rich and dynamic user interfaces can be created through both static definitions and animations?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3601_3800_eng.csv", "repo": null, "row_in_file": "3", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003606", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter applications, how is the text scaling infrastructure (such as `TextScaler`) designed and implemented to support linear and non-linear scaling strategies, limit scaling factors, and meet accessibility requirements?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3601_3800_eng.csv", "repo": null, "row_in_file": "6", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003625", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, a special`renderbox`sub-class, which displays error messages using different styles (color, font, size, thickness) in error discovery mode and broadcast mode, is desired to be created; How can this`rendererbox`can be drawn effectively effectively with the predetermined internal gaps and a background color that visually emphasizes the error status in an area with maximum width and heights specified, and how possible errors should be discussed in this drawing process?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3601_3800_eng.csv", "repo": null, "row_in_file": "25", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003653", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How can we design and implement a custom `RenderTreeSliver` class in Flutter, extending `RenderSliverVariedExtentList`, to efficiently visualize and animate a hierarchical tree structure with dynamic node heights? The implementation should support indentation, handle expansion/contraction animations during node addition/removal, and dynamically calculate heights using an `itemExtentBuilder` function.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3601_3800_eng.csv", "repo": null, "row_in_file": "53", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003657", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do we build a `RenderBox` to display a texture from an external source (e.g., camera flow or a local video file) with support for freezing and setting filter quality? Structure the basic behaviors (sizing, layout, painting, hit testing).", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3601_3800_eng.csv", "repo": null, "row_in_file": "57", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003661", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, design a reusable and expandable abstract class `ViewportOffset` and a concrete implementation `_FixedViewportOffset` to control scroll offsets and strategies. Define the necessary abstract methods, their parameters, and how they handle scroll direction changes.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3601_3800_eng.csv", "repo": null, "row_in_file": "61", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003673", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Implement the `BackgroundIsolateBinaryMessenger` class in Flutter to manage asynchronous messaging through platform channels in background isolates. The implementation should include `ensureInitialized` using a `RootIsolateToken`, message sending using `Completer` and `PlatformDispatcher`, and an unsupported `setMessageHandler` method.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.95, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3601_3800_eng.csv", "repo": null, "row_in_file": "73", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_003674", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How should the `BackgroundIsolateBinaryMessenger` class be implemented for the Dart Web platform so that its `instance` getter and `ensureInitialized` method throw an `UnsupportedError` indicating that isolates are not supported on the web?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3601_3800_eng.csv", "repo": null, "row_in_file": "74", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003677", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How is Flutter's autofill API structured to manage and configure platform-level autofill (Android, iOS) consistently? Detail the classes, abstract classes, constants, mixins, and configuration objects (such as AutofillHints, AutofillConfiguration, AutofillClient, AutofillScope) and how they integrate with TextInput.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3601_3800_eng.csvreporow_in_file77statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_003684messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn a Flutter application, how can we assign the value of the `FLUTTER_APP_FLAVOR` environment variable to a null-safe constant `appFlavor` during compilation, handling the case where the variable might not be set?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3601_3800_eng.csvreporow_in_file84statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_003687messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn a Flutter application, how do you trigger different types of haptic feedback (e.g., general vibration, light impact, medium impact, heavy impact, selection click) using the platform channel (`SystemChannels.platform`)? Provide a class with separate asynchronous functions (`vibrate`, `lightImpact`, `mediumImpact`, `heavyImpact`, `selectionClick`) that call `HapticFeedback.vibrate` with different arguments (or without arguments) to achieve this.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3601_3800_eng.csvreporow_in_file87statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_003696messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentDesign a reusable and customizable class in Flutter to manage mouse interactions (enter, exit, hover) and cursor behavior. The class should process mouse events (such as `PointerEnterEvent`, `PointerExitEvent`, and `PointerHoverEvent`) and cursor states (like `MouseCursor.defer`), while supporting debugging and monitoring by mixing in `Diagnosticable`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3601_3800_eng.csvreporow_in_file96statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_003716messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can we design a reusable and testable API to trigger platform-specific system sounds using `SystemChannels.platform`, a `SystemSoundType` enum, and a `SystemSound.play()` method?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3601_3800_eng.csvreporow_in_file116statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_003718messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentImplement a custom `TextSelection` class in Dart that extends `TextRange`. It should be immutable and include properties for `baseOffset`, `extentOffset`, `affinity`, and `isDirectional`. Provide constructors (including a collapsed constructor and fromPosition), getters for `base` and `extent` as `TextPosition` objects, and methods like `copyWith`, `expandTo`, and `extendTo`. Also, override `operator ==`, `hashCode`, and `toString` to ensure correct equality and representation.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3601_3800_eng.csvreporow_in_file118statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_003725messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow do you structure the HtmlElementView implementation for non-web platforms in Flutter so that attempting to instantiate it (e.g., via createFromTagName) or build it throws an UnimplementedError?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3601_3800_eng.csvreporow_in_file125statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_003748messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you design and implement a reusable and customizable `ColorFiltered` widget using `SingleChildRenderObjectWidget` and `RenderProxyBox` to optimize performance and handle compositing? Provide an implementation that follows best practices.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3601_3800_eng.csvreporow_in_file148statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_003751messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn a Flutter application, design the `ContextMenuButtonItem` class and `ContextMenuButtonType` enum to manage text field context menu actions (such as cut, copy, paste). The enum should support standard actions (`cut`, `copy`, `paste`, `selectAll`, `delete`, `lookUp`, `searchWeb`, `share`, `liveTextInput`) and a `custom` option. The `ContextMenuButtonItem` class should include a callback function (`onPressed`), the action type (`type`), and an optional `label`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3601_3800_eng.csvreporow_in_file151statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_003752messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentImplement a `ContextMenuController` class in Flutter to manage context-sensitive menus. It should ensure only a single context menu is shown at a time using static tracking, manage an `OverlayEntry`, capture inherited themes using `InheritedTheme.capture`, and provide methods to show, remove, and rebuild the menu.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3601_3800_eng.csvreporow_in_file152statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_003755messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn a Flutter application, how do you design and manage text selection behavior using an `InheritedTheme` widget called `DefaultSelectionStyle`? Specifically, how do you provide default values (such as `cursorColor`, `selectionColor`, and `mouseCursor`), find the closest theme in the widget tree, trigger reconstruction when values change, and prevent potential errors related to the use of `DefaultSelectionStyle.fallback()`?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3601_3800_eng.csvreporow_in_file155statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_003764messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you design a reusable and customizable widget like `DualTransitionBuilder` that applies different transition effects depending on the animation direction (forward or reverse)? Explain how to manage complex transitions using `AnimationStatus`, `ProxyAnimation`, and `ReverseAnimation` while maintaining performance and consistency in the widget tree.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3601_3800_eng.csvreporow_in_file164statusP1_partialtypeseedtask_typequestion_to_code |
| difficultymediumidseed_003768messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow can you implement a customizable `FlutterLogo` widget in Flutter that takes size, text color, style (`FlutterLogoStyle`), animation duration, and curve as parameters, retrieves default size from `IconTheme`, animates changes using `AnimatedContainer`, and defines its visual design using `FlutterLogoDecoration`?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3601_3800_eng.csvreporow_in_file168statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_003782messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow can we implement a performant `ImageFiltered` widget in Flutter that minimizes the creation and redrawing of unnecessary compositing layers by dynamically toggling compositing and repaint boundary behaviors based on an `enabled` flag?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3601_3800_eng.csvreporow_in_file182statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_003787messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how is the mechanism designed to transport InheritedThemes from one widget tree context ('from') to another ('to') while avoiding duplicate applications, respecting the restriction that 'to' must be an ancestor of 'from', and ensuring a reusable, high-performance implementation?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3601_3800_eng.csvreporow_in_file187statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_003793messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how is the `LookupBoundary` mechanism designed and applied to limit access to and control the lookup of ancestor elements (such as InheritedWidgets, Widgets, States, or RenderObjects) in the widget tree? Explain how it affects tree navigation methods and how it can be used to detect hidden ancestors in debug tools, providing a complete implementation.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3601_3800_eng.csvreporow_in_file193statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_003797messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do we use the `CustomMultiChildLayout` and `MultiChildLayoutDelegate` classes to create a customizable navigation toolbar (with leading, middle, and trailing widgets) that is sensitive to text direction (RTL/LTR), supports centering the middle widget (`centerMiddle`), and handles spacing (`middleSpacing`) consistently across different screen sizes?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3601_3800_eng.csvreporow_in_file197statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_003799messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you design a reusable and customizable `NavigatorPopHandler` widget to intervene in a Navigator's pop process, prevent pop operations under certain conditions, or run callback functions when a pop occurs? The design should support both the deprecated `onPop` and the newer `onPopWithResult` callbacks. By listening to `NavigationNotification` and using the `PopScope` widget, how do you dynamically control the `canPop` behavior, handle the `didPop` argument, and ensure null safety and type safety?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.95, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3601_3800_eng.csv", "repo": null, "row_in_file": "199", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003854", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In order to create a widget that can be dynamically arranged according to SliverConstraints in Flutter, how do you design the `_RenderSliverLayoutBuilder` render object using the `ConstrainedLayoutBuilder` class? Based on `SliverConstraints`, how do you secure the positioning and drawing of the child widget in the scrollable area by correctly applying `childMainAxisPosition` and `applyPaintTransform` methods while implementing rendering stages such as `performLayout`, `hitTestChildren`, and `paint`?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.95, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3801_4000_eng.csv", "repo": null, "row_in_file": "54", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "easy", "id": "seed_003861", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how can we design a reusable widget called `Spacer` to create a flexible gap in a Row or Column, customizing its flexibility using a `flex` parameter, and implementing it using `Expanded` and `SizedBox.shrink()`?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3801_4000_eng.csv", "repo": null, "row_in_file": "61", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "hard", "id": "seed_003881", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How can we implement a robust and flexible undo/redo history mechanism in Flutter for text fields or editable content? Provide an implementation of `UndoHistory`, `UndoHistoryState`, `UndoHistoryController`, and an underlying undo stack that handles focus behavior, change tracking conditions, and throttled updates.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3801_4000_eng.csv", "repo": null, "row_in_file": "81", "status": "P1_partial", "type": "seed"}, "task_type": "question_to_code"}
|
| {"difficulty": "medium", "id": "seed_003907", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Write a comprehensive unit test suite using `flutter_test` to verify the behavior of Flutter's `Tween` class and its specialized subclasses (such as `ColorTween`, `RectTween`, `IntTween`, `StepTween`, `Matrix4Tween`, `ConstantTween`, `ReverseTween`, `CurveTween`, `BorderRadiusTween`, and `BorderTween`). The tests should cover error handling for unsupported types, chaining, animating, driving, and interpolation (lerp) behavior.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3801_4000_eng.csvreporow_in_file107statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_003919messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow can you write a Flutter widget test to demonstrate the usage of `debugCheckHasCupertinoLocalizations` and verify that it throws an assertion error when CupertinoLocalizations are not available in the context, but succeeds when they are?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3801_4000_eng.csvreporow_in_file119statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_003925messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, when we customize the appearance of icons by using `IconTheme` in a widget tree, we can access these themes with the method `IconTheme.of(context)`. How can we adjust icon theme features (size, color, opacity, etc.) using both the basic `IconThemeData` and the platform-specific `CupertinoIconThemeData`, and how do we resolve these settings correctly through `IconTheme.of(context)` (for example, resolving `CupertinoIconThemeData` based on `platformBrightness`)?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3801_4000_eng.csvreporow_in_file125statusP1_partialtypeseedtask_typeapi_usage |
| difficultyhardidseed_003935messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow can we control and test the visual behavior of the `CupertinoPopupSurface` widget (including color filters, surface color, blur, and transparency) and their interactions with `brightness` theme, `debugIsVibrancePainted`, `isSurfacePainted`, and `blurSigma` across different platforms to ensure consistency with the iOS design language?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3801_4000_eng.csvreporow_in_file135statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_003942messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow can I design and implement a robust widget test suite in Flutter to verify the behaviors, customization options, and properties of the CupertinoSearchTextField widget (such as decoration, prefix/suffix icons, padding, controller, keyboard type, cursor properties, and scroll animations)?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3801_4000_eng.csvreporow_in_file142statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_003947messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, when applying the iOS-style spelling inspection suggestion toolbar (CupertinoSpellCheckSuggestionsToolbar), we should write certain unit and widget tests to verify the behavior of the toolbar:\n1. How can we require the display of maximum three suggestions in the toolbar and how can we test that an error occurs if this restriction is exceeded?\n2. How can we verify that the toolbar correctly displays the first three suggestions proposed by spelling inspection in the current text field?\n3. When no suggestions are presented by the spelling inspection, how can we test the \ button on the toolbar?\n4. How do we handle skipping these tests on the web platform (using kIsWeb)?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3801_4000_eng.csvreporow_in_file147statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_003950messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentFlutter'da`cupertinotabview`widget'in different navigation scenarios (eg,`Home`,`Routes`,`ongerereteroute`,`sknownroute`uses,`navigator`switch with the navigation, status restore and Android button processing and how to test the testing, this is the test. How can I write the unit tests that explain the behavior and possible exceptions of each (for example, the situation of`null''null`s)?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3801_4000_eng.csvreporow_in_file150statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_003951messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you design and implement a comprehensive widget test scenario to verify that a `CupertinoTextField` correctly restores its state (including text content and scroll position) after app restoration? The test should cover scenarios with and without an external `RestorableTextEditingController`, and include keyboard input, scrolling, and state restoration using `WidgetTester.restartAndRestore` and `RestorationData`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3801_4000_eng.csvreporow_in_file151statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_003953messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can we test the state restoration behavior (including text content, scrolling location, and validation errors) of `CupertinoTextFormFieldRow` under different scenarios, such as with or without an external `TextEditingController` or Form ancestor? Provide widget tests that demonstrate how to verify that the state is correctly restored.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3801_4000_eng.csvreporow_in_file153statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_003954messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWrite a comprehensive suite of Flutter widget tests for CupertinoTextFormFieldRow to verify its behavior, user interactions, and form validation scenarios, ensuring it correctly passes properties to the underlying CupertinoTextField.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3801_4000_eng.csvreporow_in_file154statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_003973messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentExplain how the `CachingIterable` class works on a `range` generator function with various `Iterable` methods (`where`, `map`, `skip`, `take`, `expand`). Write unit tests that verify the value of the `yieldCount` variable in the `range` function across different scenarios. These tests should verify the correct operation of `CachingIterable`'s lazy evaluation and caching behavior on multiple reads.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3801_4000_eng.csv", "repo": null, "row_in_file": "173", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_003976", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Write Dart unit tests to verify the behavior of `listEquals`, `setEquals`, `mapEquals`, `binarySearch`, and `mergeSort` from `package:flutter/src/foundation/collections.dart`. The tests should cover null values, identical and different collections, and special cases, using `expect` with matchers like `isTrue`, `isFalse`, `equals`, and `lessThanOrEqualTo`.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3801_4000_eng.csv", "repo": null, "row_in_file": "176", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_003977", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How can we comprehensively test the logic of processing data from an `HttpClientResponse` using `consolidateHttpClientResponseBytes`? Specifically, how do we verify scenarios involving `contentLength`, `compressionState`, `autoUncompress`, `onBytesReceived` interactions, and error handling (both from `HttpClientResponse` and `onBytesReceived` callbacks) using a `MockHttpClientResponse` and `expect` assertions?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3801_4000_eng.csv", "repo": null, "row_in_file": "177", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "easy", "id": "seed_003978", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How do I write a Flutter test to verify the value of the `kIsWeb` constant in a test environment?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_3801_4000_eng.csv", "repo": null, "row_in_file": "178", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_004000", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Write a comprehensive unit test suite for Flutter's `GestureArenaManager` to verify gesture arena resolution. The tests should cover timing sensitivity (e.g., calling `resolve` before or after `close`), different `GestureDisposition` values, and hold/release/sweep behaviors. Implement a `TestGestureArenaMember` class to track `acceptGesture` and `rejectGesture` calls using boolean flags, and use a `primaryKey` constant for the arena key.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_3801_4000_eng.csvreporow_in_file200statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004001messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWrite Flutter unit and widget tests to verify the behavior of the `debugPrintGestureArenaDiagnostics` and `debugPrintRecognizerCallbacksTrace` flags during the gesture arena lifecycle of `TapGestureRecognizer`, including pointer addition, sweeping, and exceeding deadlines.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4001_4200_eng.csvreporow_in_file1statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_004007messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow can we design and implement a test in Flutter to verify pointer event resampling using `GestureBinding`? Provide a custom `TestResampleEventFlutterBinding` that uses a custom `SamplingClock` to control timing, processes a `PointerDataPacket`, and verifies that the generated `PointerEvent`s have the correct timestamps, positions, and types when `resamplingEnabled` and `samplingOffset` are configured.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4001_4200_eng.csvreporow_in_file7statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004008messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow does Flutter process and convert raw pointer data from different input devices (touch, mouse, stylus) into consistent PointerEvents? Provide a comprehensive suite of unit tests demonstrating how PointerEventConverter.expand handles screen density, faulty scroll data, primary button synthesis, and pan/zoom events.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4001_4200_eng.csvreporow_in_file8statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004015messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentDesign a comprehensive set of Flutter unit and widget tests to verify the behavior of `DragGestureRecognizer` and its arena interactions. Specifically, cover: 1) Arena resolution and threshold control (`onlyAcceptDragOnThreshold`), 2) Input filtering using `allowedButtonsFilter` (e.g., primary vs. secondary mouse buttons), and 3) Custom gesture recognizers (like an eager pan recognizer) interacting with a `CustomScrollView`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4001_4200_eng.csvreporow_in_file15statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004018messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn a Flutter application, how is the `PointerRouter` class designed to manage both per-pointer and global callbacks, handle re-entrant scenarios (such as adding/removing routes during routing), and apply event transformation matrices (Matrix4)? Provide a comprehensive test suite covering these scenarios.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4001_4200_eng.csvreporow_in_file18statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004020messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can we design and implement comprehensive, well-structured unit tests for custom `GestureRecognizer` and `PrimaryPointerGestureRecognizer` subclasses? Specifically, provide a test suite that covers winning the arena, losing the arena, and recycling the recognizer, while also verifying memory leak prevention using leak tracking.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4001_4200_eng.csvreporow_in_file20statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004021messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWrite comprehensive Flutter unit tests for `PointerEventResampler` to test the resampling and interpolation of `PointerEvent`s. The tests should cover different scenarios in detail, including basic movements, rapid touches (quick taps), slow and rapid progress, event jumps (skips), stopping, synthetic movements, and different sampling timings. Ensure the tests verify how event characteristics (location, delta, timestamp, buttons, etc.) are calculated.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4001_4200_eng.csvreporow_in_file21statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004023messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you write unit tests for `SerialTapGestureRecognizer` to verify its interaction with other gesture recognizers (such as `TapGestureRecognizer`, `DoubleTapGestureRecognizer`, and custom recognizers), handling of `kSerialTapDelay`, touchpoint distance, different mouse buttons, and gesture arena priority conflicts? Provide a comprehensive test suite.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4001_4200_eng.csvreporow_in_file23statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004027messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how does placing a GestureDetector inside a Transform.scale widget affect the evaluation of kDoubleTapSlop? Provide widget test scenarios to verify how double-tap perception accuracy is evaluated under different scaling factors (both enlargement and reduction).roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4001_4200_eng.csvreporow_in_file27statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004039messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how should a comprehensive test scenario be designed to verify the customization of action buttons (BackButton, CloseButton, DrawerButton, EndDrawerButton) using ActionIconTheme and ActionIconThemeData? The tests should verify the `copyWith` method, `debugFillProperties`, default values, and the correct functionality of the theme when applied via ThemeData or ActionIconTheme widget.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4001_4200_eng.csvreporow_in_file39statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004052messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you test and verify the customization of the `Badge` widget's visual features (such as background color, text color, size, text style, padding, alignment, and offset) applied globally via `ThemeData` and locally via `BadgeTheme`? The tests should cover `BadgeThemeData`'s `copyWith`, `lerp`, default values, `debugFillProperties` behavior, and verify the priority and visual effects (size, position, style) when these themes are applied in the widget tree.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4001_4200_eng.csvreporow_in_file52statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_004086messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentFlutter'da, `DesktopTextSelectionToolbar` widget'inin `anchor` parametresi ile belirtilen konuma doğru şekilde konumlandığını ve bu konumlandırmanın, toolbar üzerindeki ilk `DesktopTextSelectionToolbarButton` widget'inin sol üst köşesinin, belirtilen `anchor` offset'i ile tam olarak eşleştiğini doğrulayan bir test yazın. Bu senaryoda `DesktopTextSelectionToolbar` widget'ı bir `MaterialApp` ve `Center` widget'ları içinde yer almalı ve en az bir tıklanabilir buton içermelidir.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4001_4200_eng.csvreporow_in_file86statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004094messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWrite a comprehensive suite of Flutter widget tests for `DropdownButtonFormField` to verify its behavior under various scenarios, including: when `disabledHint` is used, when the `items` list is empty or null, when `onChanged` is null, custom styling and icon sizes, different `AutovalidateMode` values, shadow/elevation rendering, `onTap` callbacks, form reset behavior, and the effect of `ButtonTheme.alignedDropdown`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4001_4200_eng.csvreporow_in_file94statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004101messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWrite a comprehensive Flutter widget test suite for the `ExpandIcon` widget. The tests should cover expected behavior and customization options across different scenarios, including Material 2 vs Material 3, light and dark themes, the `onPressed` callback, the `isExpanded` property, accessibility (semantics), sizing, and color options (default, active, disabled).roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4001_4200_eng.csvreporow_in_file101statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004109messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how do you design and implement a comprehensive test scenario to verify the `FlexibleSpaceBar` widget's `stretch` feature and `StretchMode` enum values (`zoomBackground`, `blurBackground`, `fadeTitle`)? The tests should verify how these features interact with different `ScrollPhysics` (specifically `BouncingScrollPhysics` and `ClampingScrollPhysics`), covering the stretching behavior, Golden File comparisons, opacity changes, and size changes.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4001_4200_eng.csv", "repo": null, "row_in_file": "109", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "medium", "id": "seed_004114", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do we write a widget test to verify that a GridTile widget with a header and footer is correctly arranged, that the header and footer display the expected text, that the header is positioned above the footer, and that a simple GridTile can be rendered? Use unique keys to confirm their relative positions.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4001_4200_eng.csv", "repo": null, "row_in_file": "114", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_004118", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How do you design and implement comprehensive automated widget tests in Flutter to verify how `InheritedTheme.captureAll()` preserves thematic features (such as `ThemeData`, `PopupMenuThemeData`, `MaterialBannerThemeData`, `DividerThemeData`, `ListTileThemeData`, `SliderThemeData`, and `ToggleButtonsThemeData`) when navigating to new routes?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4001_4200_eng.csv", "repo": null, "row_in_file": "118", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "medium", "id": "seed_004128", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter applications, accessibility and internationalization (i18N) requirements, in order to ensure that the materials design components are translated into different languages consistently and complete and provide appropriate localization support, the Flutter Framework's MaterialLoCalizations Class (or any specific language) application of the MaterialLochalizations class (or any specific language) application of the assumed English (or any specific language), label, labels, labels, labels dates, keyboard keys, accessibility texts, etc.) What kind of comprehensive and automated tests should be applied to verify that it has non-Null values, protects the expected text formats and does not throw exceptions in case of incorrect input?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4001_4200_eng.csvreporow_in_file128statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004131messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentExplain how to use `MaterialStateMixin` in Flutter to dynamically update a widget's color based on different `MaterialState`s (such as pressed, focused, hovered). Provide a complete example showing how to use `updateMaterialState` with a `StreamController<bool>` to update the state, and write widget tests to verify that the color changes correctly for each `MaterialState`.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4001_4200_eng.csv", "repo": null, "row_in_file": "131", "status": "P1_partial", "type": "seed"}, "task_type": "api_usage"}
|
| {"difficulty": "medium", "id": "seed_004133", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How can we write unit tests for `MaterialStatesController` to verify its constructor, state updates with `update()`, listener notifications, and proper memory disposal using `leak_tracker_flutter_testing`?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4001_4200_eng.csv", "repo": null, "row_in_file": "133", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_004136", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how should a comprehensive test scenario be designed to verify the interaction and priority behaviors of `MenuBar`, `MenuTheme`, and `MenuBarTheme` widgets, specifically regarding style features (such as `backgroundColor`, `elevation`, `shape`, `padding`, and `foregroundColor`) when overridden by constructor parameters?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4001_4200_eng.csv", "repo": null, "row_in_file": "136", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_004148", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, demonstrate the different mechanisms used to customize the style of the `OutlinedButton` component (for example, direct style with `styleFrom`, `OutlinedButtonTheme`, and `ThemeData` overrides) and their relative priorities. For both Material Design 2 and Material Design 3, create a comprehensive set of widget tests that verify the appearance and behavior of `OutlinedButton` (including colors, shadows, shapes, dimensions, text styles, alignment, mouse cursor, touch feedback, animation duration, target size, and icon alignment) and how these styling mechanisms interact.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4001_4200_eng.csv", "repo": null, "row_in_file": "148", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_004153", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, how do you test and verify the behavior of persistent and modal BottomSheets created using `Scaffold.bottomSheet` and `showBottomSheet`? Provide widget tests that verify their interactions with `FloatingActionButton`, `DraggableScrollableSheet`, `ScaffoldFeatureController.setState`, visual properties, re-creation optimizations, and `MediaQuery` padding.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4001_4200_eng.csv", "repo": null, "row_in_file": "153", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_004155", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, in order to provide consistent and customizable popupmenubutton behavior for both Material Design 2 (m2) and Material Design 3 (m3), the different features of Popupmenuthemedata (Color, Shape, Elevation, TextStyle, TextStyle, TextStyle, TextStyle, TextStyle, Mousecursor, Iconcolor, Iconcolor, Iconcolor, Iconcolor, Iconcolor ShadowColor, Surfacetintcolor, etc.) How can we control both the assumed theme values and the values specified directly specified in Popupmenubutton Widget and how these features interact with each other, especially in the materialstate (eg, enabled, disabled), taking into account the changing styles, mouse cursor behaviors and different platforms. How can we confirm with a comprehensive test strategy?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4001_4200_eng.csv", "repo": null, "row_in_file": "155", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_004164", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Write a comprehensive suite of Flutter widget tests to verify the behavior of the `RefreshIndicator` widget under various scrolling scenarios (such as normal, reverse, nested, and bouncing physics) and customizable properties (such as trigger mode, color, stroke width, edge offset, and adaptive behavior).", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4001_4200_eng.csv", "repo": null, "row_in_file": "164", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_004186", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Write comprehensive Flutter widget tests to verify the behavior of `SwitchThemeData` and `SwitchTheme` in both Material Design 2 and Material Design 3. The tests should cover properties such as `thumbColor`, `trackColor`, `trackOutlineColor`, `trackOutlineWidth`, `materialTapTargetSize`, `overlayColor`, `splashRadius`, `thumbIcon`, and `padding`. Ensure you test how local `SwitchTheme` overrides the global `ThemeData.switchTheme`, how properties resolve under different `MaterialState` configurations (selected, focused, hovered, pressed), and verify the visual differences using canvas painting assertions.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4001_4200_eng.csv", "repo": null, "row_in_file": "186", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_004191", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Provide a set of Flutter testing utilities, custom widgets, and helper functions to test TabBar and TabController interactions. This should include helpers for retrieving tab text, creating controllers, tracking state lifecycles (initState, didUpdateWidget, dispose), testing AutomaticKeepAliveClientMixin, mocking scroll physics, and custom indicator painting/animations (such as elastic RRect animations).", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4001_4200_eng.csv", "repo": null, "row_in_file": "191", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "medium", "id": "seed_004195", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, when a `TextField` widget's `helperText` is initially set to a value and then updated to `errorText` with the same value, both texts can temporarily coexist in the widget tree during the transition animation. How do you write a widget test to simulate this transition, handle the animation delay, and verify that both widgets are temporarily present?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4001_4200_eng.csvreporow_in_file195statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004196messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, using the restoration mechanisms of `TextField` and `Scrollable` widgets, with both internal and external `TextEditingController` instances, the `TextField` content and scroll position are preserved after application restart. How can a comprehensive test scenario be created using `testWidgets` and `RestorationMixin` to test how the user's text input and scroll actions affect the restoration process?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4001_4200_eng.csv", "repo": null, "row_in_file": "196", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_004197", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How do you write a comprehensive Flutter widget test to verify that a custom InteractiveInkFeatureFactory (such as a custom InkSplashFactory) configured in the theme successfully prevents InkSplash creation and cancellation when interacting with TextField widgets (e.g., tapping or dragging), without affecting standard behaviors?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4001_4200_eng.csv", "repo": null, "row_in_file": "197", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_004199", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "In Flutter, we can provide the status of Textformfields (Text content, Scroll position, validation errors) restoration API with both internal and external TexteditingController, and how to provide it with different Autovalidatemode options, without the top element of the form. (a) showing error messages during validation as a result of user interaction, (b)`Validate ()`not to trigger validation until the method is called, (c) protection of the scroll position, and (d) during the restoration of the text content and error messages correctly, and different device configurations of these processes (screen sizes) Closing and opening, hot restart) How can it be tested and verified?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4001_4200_eng.csv", "repo": null, "row_in_file": "199", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_004204", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Flutter'da, TextSelectionToolbarTextButton widget'ının toolbar içerisindeki konumuna (ilk, orta, son, tek) göre genişliğinin, varsayılan/özel renklerinin (foreground ve background) doğru şekilde ayarlandığını ve ThemeData'daki TextButtonThemeData'nın bu widget'ın varsayılan arka plan rengini geçersiz kılmadığını doğrulayan bir widget testi nasıl yazılır?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4201_4400_eng.csvreporow_in_file4statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004205messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWrite a comprehensive Flutter unit test suite to verify the behavior of `TextTheme` methods, including `copyWith`, `apply`, `lerp`, and context-based lookups like `TextTheme.of(context)` and `TextTheme.primaryOf(context)`. The tests should cover null values, typography variations (Material 2018/2021), and various text style parameters.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4201_4400_eng.csvreporow_in_file5statusP1_partialtypeseedtask_typetest_generation |
| difficultymediumidseed_004207messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentIn Flutter, how can we design a comprehensive widget test suite to verify that the FloatingActionButton's properties (such as colors, shapes, elevations, constraints, padding, animation duration, and tap target size) match the expected values under both Material Design 2 and Material Design 3, for both enabled and disabled states, by inspecting the underlying RawMaterialButton?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 0.9, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4201_4400_eng.csv", "repo": null, "row_in_file": "7", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_004210", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "How can we design and implement a comprehensive automated test suite in Flutter to verify the behavior of `TimePickerThemeData` across Material 2 and Material 3? The tests should cover default values, `debugFillProperties`, `copyWith`, `lerp`, both `TimePickerEntryMode.dial` and `TimePickerEntryMode.input` modes, the interaction with `InputDecorationTheme`, accurate color/style application, and ensuring text fields do not resize on faulty inputs.", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4201_4400_eng.csv", "repo": null, "row_in_file": "10", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_004213", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Considering the various characteristics of the `ToggleButtons` component in Flutter with `ToggleButtonsThemeData`, the various features (text style, size restrictions, color restrictions, colors, border features, etc.), the default behaviors of these features, `copyWith`, `==`, `hashCode`, and how they interact with the `debugFillProperties` method, how these features can be adjusted for different situations (enabled, selected, disabled) and how these settings affect the appearance and behavior of the `ToggleButtons` component, taking into account the best application scenarios and possible corner cases. How to create a comprehensive test package that fully demonstrates the expected behavior?", "role": "user"}], "metadata": {"provenance_status": "P1_partial", "quality_score": 1.0, "review_notes": "codex_strict_review_approved", "review_status": "approved"}, "source": {"commit": null, "license": null, "path": "flutter_code_with_questions_4201_4400_eng.csv", "repo": null, "row_in_file": "13", "status": "P1_partial", "type": "seed"}, "task_type": "test_generation"}
|
| {"difficulty": "hard", "id": "seed_004219", "messages": [{"content": "You are a Flutter and Dart coding assistant.", "role": "system"}, {"content": "Write a Flutter widget test to verify the visual consistency of the Slider component's value indicator using Golden File Tests for both Material 2 and Material 3. The test should cover different text scales (using `MediaQuery.withClampedTextScaling`), wide labels, and simulate pressing the start, middle, and end of the slider while keeping the value indicator always visible using `SliderTheme`.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4201_4400_eng.csvreporow_in_file19statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004223messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentHow can we design and apply a flexible architecture to mock `XMLHttpRequest` and `HTMLImageElement` for web applications in Dart using the `dart:js_interop` library (specifically creating `TestHttpRequest` and `TestImgElement` classes) to control their behavior, handle event listeners, resolve promises, and simulate asynchronous operations in test scenarios?roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4201_4400_eng.csvreporow_in_file23statusP1_partialtypeseedtask_typequestion_to_code |
| difficultyhardidseed_004226messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontentWrite a Flutter unit test suite that verifies the behavior of `ImageCache` under memory pressure, tests resource eviction using a custom `PaintingBinding` that tracks calls to `clear` and `clearLiveImages`, and asserts that `PaintingBinding.shaderWarmUp` is null by default.roleusermetadataprovenance_statusP1_partialquality_scorereview_notescodex_strict_review_approvedreview_statusapprovedsourcecommitlicensepathflutter_code_with_questions_4201_4400_eng.csvreporow_in_file26statusP1_partialtypeseedtask_typetest_generation |
| difficultyhardidseed_004238messagescontentYou are a Flutter and Dart coding assistant.rolesystemcontent\ Decorationimage.lerp`function, different`deCorationimage`features (eg,`image`,`fit`,`fas`,`opacity`,`Scale`,`centerslice`) two`centerslice`) two`decoremage`object between the enterterpolya`object How can we test and verify the visual transitions and the accuracy of these transitions (compliance with the expected results) as they change the factor (`t`), especially these tests should include both the Golden File comparison and the color analysis at the pixel level and should not be employed on the web platform? \, : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.95, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 0.9, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: , : 1.0, : , : }, : {: null, : null, : , : null, : , : , : }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
| {: , : , : [{: , : }, {: , : }], : {: true}, : {: }, : }
|
|
|