Skip to content

Instantly share code, notes, and snippets.

View ericwindmill's full-sized avatar

Eric Windmill ericwindmill

View GitHub Profile
@ericwindmill
ericwindmill / main.dart
Last active May 20, 2020 19:51
FBE_Provider_provider_example.dart
import 'dart:collection'; // used in test.dart
import 'package:flutter/foundation.dart'; // used in test.dart
import 'package:flutter/material.dart';
class Person {
Person({this.name, this.age});
final String name;
final int age;
}
@ericwindmill
ericwindmill / hint.txt
Created May 10, 2020 17:24
Flutter By Example exercises, Dart, Iterables, Fold
Try using 'fold' to derive a value of a different type.
@ericwindmill
ericwindmill / hint.txt
Created May 10, 2020 17:15
fbe_dart_iterables_filter_where_takewhile
This will require using `where` and `skipWhile` together
@ericwindmill
ericwindmill / hint.txt
Created May 10, 2020 17:00
fbe_dart_iterables_change_expand
Try using `expand` to transform a list of orders into a list of those order's items.
@ericwindmill
ericwindmill / hint.txt
Created May 10, 2020 16:43
fbe_dart_iterables_remove_elements_stack
Peek should show the element that was added least recently, but not remove it
@ericwindmill
ericwindmill / hint.txt
Created May 10, 2020 16:28
fbe_dart_iterables_any_and_every
try using `any` on user.roles and `every` on Role.values
@ericwindmill
ericwindmill / hint.txt
Created May 10, 2020 16:09
fbe_dart_iterables_add
Peek should show the element that was added least recently, but not remove it.
@ericwindmill
ericwindmill / hint.txt
Last active May 10, 2020 15:35
fbe_dart_iterable_loops
Try using a `for in` loop.
@ericwindmill
ericwindmill / hint.txt
Created May 2, 2020 18:00
Iterable-listToUpperCase
Try using Iterable.map to change every item in a list.
@ericwindmill
ericwindmill / index.html
Created September 8, 2018 20:44
Dart Pad Banana Stand Proof of Concept
<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>