Skip to content

Instantly share code, notes, and snippets.

Eric Windmill ericwindmill

Block or report user

Report or block ericwindmill

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ericwindmill
ericwindmill / index.html
Created Sep 8, 2018
Dart Pad Banana Stand Proof of Concept
View index.html
<body>
<header>
<h1>The Banana Stand</h1>
<p> Brought to you by Dart POS </p>
</header>
<main>
<section class="buttons-container">
<h2>Choose Product</h1>
<button class='product-button'>Plain Banana</button>
<button class='product-button'>Frozen Banana</button>
View custom_loader_animations.dart
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'dart:math' as math;
class Bar extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new Container(
width: 45.0,
height: 14.0,
@ericwindmill
ericwindmill / form_page.dart
Created Apr 14, 2018
Inherited Widget Sample boiler plate:
View form_page.dart
class UpdateUserScreen extends StatelessWidget {
static final GlobalKey<FormState> formKey = new GlobalKey<FormState>();
static final GlobalKey<FormFieldState<String>> firstNameKey =
new GlobalKey<FormFieldState<String>>();
static final GlobalKey<FormFieldState<String>> lastNameKey =
new GlobalKey<FormFieldState<String>>();
static final GlobalKey<FormFieldState<String>> emailKey =
new GlobalKey<FormFieldState<String>>();
const UpdateUserScreen({Key key}) : super(key: key);
@ericwindmill
ericwindmill / form_page.dart
Created Apr 14, 2018
Flutter Simple inherited Widget Example
View form_page.dart
import 'package:flutter/material.dart';
import 'package:simple_inherit/state_container.dart';
class UpdateUserScreen extends StatelessWidget {
static final GlobalKey<FormState> formKey = new GlobalKey<FormState>();
static final GlobalKey<FormFieldState<String>> firstNameKey =
new GlobalKey<FormFieldState<String>>();
static final GlobalKey<FormFieldState<String>> lastNameKey =
new GlobalKey<FormFieldState<String>>();
static final GlobalKey<FormFieldState<String>> emailKey =
You can’t perform that action at this time.