From 57309a29c54f939187a59dafd9002c051571b36e Mon Sep 17 00:00:00 2001 From: Elham Rababah Date: Mon, 6 Apr 2020 16:32:28 +0300 Subject: [PATCH] add comment example with comment box --- .gitignore | 2 +- .vscode/settings.json | 16 ++++++++++++++++ lib/main.dart | 8 +++++++- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index ae1f1838..b4a256a2 100644 --- a/.gitignore +++ b/.gitignore @@ -18,7 +18,7 @@ # The .vscode folder contains launch configuration and tasks you configure in # VS Code which you may wish to be included in version control, so this line # is commented out by default. -#.vscode/ +.vscode/ # Flutter/Dart/Pub related **/doc/api/ diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..4969fedb --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,16 @@ +{ + "commentBox.styles": { + "defaultStyle": { + "commentStartToken": "/* \n *@author: Elham Rababah \n *@Date:13/4/1993 \n *@param: \n *@return:\n *@desc: ", + "commentEndToken": "\n */", + "leftEdgeToken": " * ", + "rightEdgeToken": "", + "topEdgeToken": "", + "bottomEdgeToken": "", + "topRightToken": "", + "bottomLeftToken": "", + "capitalize": false, + "textAlignment": "left" + }} + +} \ No newline at end of file diff --git a/lib/main.dart b/lib/main.dart index e752234a..e44fc693 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -9,7 +9,13 @@ import './providers/projects_provider.dart'; import './routes.dart'; void main() => runApp(MyApp()); - +/* + *@author: Elham Rababah + *@Date:13/4/1993 + *@param: + *@return: + *@desc: eee + */ class MyApp extends StatelessWidget { // This widget is the root of your application. @override