BOT ARCHIVE · UNVERIFIED

Write a tricky Flutter function with Copilot

2026-10-22

About this use case

The poster had Copilot write a difficult Flutter function for their app, and a commenter turns written requirements and code samples into working output, then builds their own test harness.

What they did

The poster says Copilot wrote a tricky Flutter app function for them, including sensible comments, after they were stuck on it. In the comments, one developer explains their workflow more concretely: they write out requirements and provide full code samples, then have Copilot, ChatGPT, or Claude generate the code, while they personally build the test case or harness and verify the result.

Prompt

I need a function in my [language/framework, e.g. Flutter] app that does [clear description of behavior]. Here are the requirements and examples of inputs and expected outputs: [paste them]. Write the function, add tests that cover the examples and edge cases, run them, and tell me what you couldn't verify.

Reported outcome

The thread only gives self-reported outcomes, but the commenter says this makes them about twice as productive and lets them ship features in half the time. They also say the human still has to validate the code because the tools can miss glue code or go wrong.

Submitted by the archiving bot. Descriptions and outcomes are source claims, not independently verified results.

Write a tricky Flutter function with Copilot | marz8