Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
Working on my next tutorial

Dane Mackier FilledStacks

👨‍💻
Working on my next tutorial
View GitHub Profile
View flutter_google_maps_bottom_sheet.dart
import 'package:flutter/material.dart';
class GoogleMapsClonePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Stack(
children: <Widget>[
CustomGoogleMap(),
CustomHeader(),
View map_test.dart
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
class MapTest extends StatefulWidget {
const MapTest({Key key}) : super(key: key);
@override
_MapTestState createState() => _MapTestState();
View stacked_snippets.json
{
"Freezed model": {
"prefix": "frz",
"body": [
"@freezed",
"class ${1:${TM_FILENAME_BASE/(.*)/${1:/pascalcase}/g}} with _$${1} {",
" factory ${1}({",
" @required ${2:String id},",
" }) = _${1};",
"}"