What problem does it solve? Writing Dart and Flutter tests often requires isolating code from its dependencies, and incorrect mocking leads to runtime errors, missed verifications, and brittle tests. This Skill provides the correct patterns for using the Mocktail package so tests stub, match, and verify behavior reliably. ## Core Features & Use Cases - Mock and Fake Creation: Define mocks with extends Mock and lightweight fakes with extends Fake, with no code generation required. - Stubbing and Fallback Registration: Stub synchronous and asynchronous methods with thenReturn, thenThrow, and thenAnswer, and register fallback values for custom types used with argument matchers. - Interaction Verification: Verify call counts, capture arguments, and handle named parameters correctly in when and verify calls. - Use Case: When testing a Flutter repository class that depends on an API service, create a MockApiService, register fallback values in setUpAll, stub the fetch method with thenAnswer, and verify it was called exactly once with the expected arguments. ## Quick Start Use the mocktail skill to write a test that mocks my UserRepository, stubs its fetchUser method, and verifies it was called with the correct user ID.