Skip to content

Instantly share code, notes, and snippets.

@kranfix
kranfix / typed_inherited.dart
Last active April 9, 2020 04:38 — forked from stegrams/typed_inherited.dart
Flutter fix: Inherited widget example
// Fx for https://gist.github.com/stegrams/a2d17dc45bdae1ddfcc92cf6af96b80b/revisions#diff-a4501314e2bb2871a1a84da5ed71b87b
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@kranfix
kranfix / Makefile
Created October 5, 2017 20:34 — forked from border/Makefile
json example in golang
include $(GOROOT)/src/Make.inc
GOFMT=gofmt -spaces=true -tabindent=false -tabwidth=4
all:
$(GC) jsontest.go
$(LD) -o jsontest.out jsontest.$O
format:
$(GOFMT) -w jsontest.go