Skip to content

Commit

Permalink
more dart snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
theniceboy committed Apr 16, 2023
1 parent 72a8165 commit 758920b
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion Ultisnips/dart.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,42 @@ snippet rt "required this."
required this.${1}, ${0}
endsnippet

snippet posr "Positioned right"
Positioned(
top: ${1:0},
right: ${2:0},
bottom: ${3:0},
child: ${0:Container()},
),
endsnippet

snippet posl "Positioned left"
Positioned(
top: ${1:0},
left: ${2:0},
bottom: ${3:0},
child: ${0:Container()},
),
endsnippet

snippet post "Positioned top"
Positioned(
top: ${1:0},
left: ${2:0},
right: ${3:0},
child: ${0:Container()},
),
endsnippet

snippet posb "Positioned bottom"
Positioned(
bottom: ${1:0},
left: ${2:0},
right: ${3:0},
child: ${0:Container()},
),
endsnippet

snippet postr "Positioned top right"
Positioned(
top: ${1:0},
Expand Down Expand Up @@ -512,7 +548,7 @@ Positioned(
endsnippet

snippet fa "fix add type"
// FIX:ADDTYPE
// TYPEADD
endsnippet

snippet .f "fix add type" i
Expand Down

0 comments on commit 758920b

Please sign in to comment.