This file contains hidden or 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
{ | |
"custom-postfix-completion": { | |
"languageTemplates": { | |
"dart": { | |
"templates": [ | |
{ | |
"triggerWord": "if", | |
"description": "If condition", | |
"targetRegExp": "\\w+", | |
"body": ["if(${target}) {\n ${CODE#0}\n}"] |
This file contains hidden or 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
import 'package:flutter/scheduler.dart'; | |
import 'package:flutter/widgets.dart'; | |
/// A widget that listens for size changes of its child and notifies its | |
/// listeners when the size changes. | |
/// | |
/// This widget is useful when you need to perform some actions or update | |
/// the UI based on the size changes of a specific widget. | |
/// | |
/// Example usage: |