Skip to content

Commit

Permalink
update template of consumerWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
minh.tran committed Jul 7, 2021
1 parent eb3c34a commit 9ff0227
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
<option name="DART_TOPLEVEL" value="true" />
</context>
</template>
<template name="consumerWidget" value="class $class_name$ extends ConsumerWidget {&#10;&#10; @override&#10; Widget build(BuildContext context, WidgetRef ref) {&#10; return $code$;&#10; }&#10;}" description="New ConsumerWidget" toReformat="true" toShortenFQNames="true">
<template name="consumerWidget" value="class $class_name$ extends ConsumerWidget {&#10; $class_name$({&#10; Key? key,&#10; }) : super(key: key);&#10; &#10; @override&#10; Widget build(BuildContext context, WidgetRef ref) {&#10; return $code$;&#10; }&#10;}" description="New ConsumerWidget" toReformat="true" toShortenFQNames="true">
<variable name="class_name" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="code" expression="" defaultValue="" alwaysStopAt="true" />
<context>
Expand Down

0 comments on commit 9ff0227

Please sign in to comment.