Skip to content

Instantly share code, notes, and snippets.

granoeste / main.dart
Last active Oct 5, 2020 — forked from jcollins-g/index.html
Navigation Drawer
View main.dart
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
final appTitle = 'Drawer Demo';
Widget build(BuildContext context) {
return MaterialApp(
View index.html
<!-- Copyright 2011 the Dart project authors. All rights reserved.
Use of this source code is governed by a BSD-style license
that can be found in the LICENSE file. -->
<h2>Dr. Fibonacci's Sunflower Spectacular</h2>
<canvas id="canvas" width="300" height="300"></canvas>
granoeste / gist:a91cd8e840ca60e5f0b67ad9c408ec1b
Last active Apr 24, 2018 — forked from wshaddix/gist:8797934
Gets the week number for a given date
View gist:a91cd8e840ca60e5f0b67ad9c408ec1b
main () {
// get today's date
var now = new;
// set it to feb 10th for testing
//now = now.add(new Duration(days:7));
int today = now.weekday;
package net.vvakame.delegatefactory.sample.hide;
/* @hide */
public class Bridge {
public Bridge() {
/* @hide */
static Data2 combine(Data1 data) {
granoeste / gist:858063
Created Mar 7, 2011 — forked from aharisu/gist:857961
[Android][Layout] Tab on the bottom with TabView
View gist:858063
<?xml version="1.0" encoding="utf-8"?>
<TabHost xmlns:android=""