This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Built Value": { | |
"prefix": "blt", | |
"body": [ | |
"abstract class ${1} implements Built<${1}, ${1}Builder> {", | |
"\t${0:// fields go here}", | |
"", | |
"\t${1}._();", | |
"", | |
"\tfactory ${1}([updates(${1}Builder b)]) = _$${1};", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Kiwi DI module": { | |
"prefix": "kiwim", | |
"body": [ | |
"//! ${1:module name}", | |
"void _configure${1}Module() {", | |
" _configure${1}Instances();", | |
" _configure${1}Factories();", | |
"}", | |
"", | |
"void _configure${1}Instances() {", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"MobX Store": { | |
"prefix": "ms", | |
"body": [ | |
"import 'package:mobx/mobx.dart';", | |
"", | |
"part '${1}_store.g.dart';", | |
"", | |
"class ${1/(.*)/${1:/pascalcase}/g}Store extends _${1/(.*)/${1:/pascalcase}/g}Store with _$${1/(.*)/${1:/pascalcase}/g}Store {}", | |
"", | |
"abstract class _${1/(.*)/${1:/pascalcase}/g}Store with Store {", |