Created
November 1, 2022 22:09
-
-
Save ruan65/ecffbc589e5d3c3e2c24611b39965635 to your computer and use it in GitHub Desktop.
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
{ | |
"Flutter App Example Scaffold": { | |
"scope": "dart", | |
"prefix": "fsapp", | |
"body": [ | |
"import 'package:flutter/material.dart';", | |
"", | |
"void main() {", | |
" runApp(MaterialApp(", | |
"title: 'Flutter Demo',", | |
"theme: ThemeData(", | |
" primarySwatch: Colors.orange,", | |
"),", | |
"home: const HomePage(),", | |
" ));", | |
"}", | |
"", | |
"class HomePage extends StatelessWidget {", | |
" const HomePage({super.key});", | |
"", | |
" @override", | |
" Widget build(BuildContext context) {", | |
"return Scaffold(", | |
" appBar: AppBar(", | |
"title: const Text('Home Pkkkkkage'),", | |
" ),", | |
" body: Container(),", | |
");", | |
" }", | |
"}", | |
], | |
"description": "Scaffold widget snippet" | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment