This Visual Studio Code extension contains Dart snippets for the Cubit state management library.
Install this extension from the Visual Studio Marketplace or the command line.
$ code --install-extension zepfietje.cubit-snippets
Trigger | Description |
---|---|
cubitprovider | CubitProvider widget |
multicubitprovider | MultiCubitProvider widget |
cubitbuilder | CubitBuilder widget |
cubitlistener | CubitListener widget |
multicubitlistener | MultiCubitListener widget |
cubitconsumer | CubitConsumer widget |
cubit | context<SubjectCubit>.cubit() |
cubitobserver | CubitObserver class |
cubitstate | SubjectVerbState class |
cubitstateinitial | SubjectInitial class |
cubitstateinprogress | SubjectVerbInProgress class |
cubitstatesuccess | SubjectVerbSuccess class |
cubitstatefailure | SubjectVerbFailure class |
VS Code Cubit Snippets is Starware.
This means you're free to use the project, as long as you star its GitHub repository.
Your appreciation makes us grow and glow up. โญ