flutter_mockkit 1.0.0
flutter_mockkit: ^1.0.0 copied to clipboard
A lightweight, developer-friendly toolkit to mock API requests and responses in Flutter apps during development. Simulate delays, errors, and dynamic responses without needing a real backend.
1.0.0 #
- Initial release of
flutter_mockkit. MockKitcentral facade withenable()/disable()mode toggle and global delay.MockRoutewith static responses and dynamicresponseBuildersupport.- Named path-parameter matching (
:paramnotation). MockResponsewith factory constructors:ok,created,badRequest,unauthorized,notFound,serverError,networkFailure.MockHttpClient— drop-in replacement forhttp.Client.MockDioInterceptor— plug-in interceptor forDio.MockDataGenerator— schema-driven fake data generation with 13 built-in type generators (uuid, name, email, phone, date, url, color, paragraph, …).- Verbose logging toggle (
MockKit.enableLogging()). - 40+ unit tests covering all public APIs.
