Skip to content

Instantly share code, notes, and snippets.

View erikwco's full-sized avatar
💻
building the next world wide hit!

Erik Chacon erikwco

💻
building the next world wide hit!
View GitHub Profile
@erikwco
erikwco / main.css
Created October 6, 2013 22:45
ResponsiveBreakPoints
/* 320 px */
@media screen and (min-width: 20em) {
}
/* 480 px */
@media screen and (min-width: 30em) {
}

Keybase proof

I hereby claim:

  • I am erikwco on github.
  • I am erikwco (https://keybase.io/erikwco) on keybase.
  • I have a public key whose fingerprint is 18F7 6D6D 3A8E 888F FF07 373B C271 7866 0657 B6E3

To claim this, I am signing this object:

@erikwco
erikwco / main.dart
Created May 15, 2019 04:38
Flutter Progress Bar Button - 0
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
@erikwco
erikwco / animated_pgbutton.dart
Last active May 16, 2019 17:14
Animation Definition for our button
// Defining Animations and Animation Controller
Animation<double> _animatedSize;
Animation<Color> _animatedColor;
AnimationController _boss;
// Initialize Animations and AnimationController
@override
void initState() {
super.initState();
// AnimationController
@erikwco
erikwco / animated_pgbutton.dart
Last active May 16, 2019 17:31
Flutter Progress Bar Button Widget - 0
import 'dart:async';
import 'package:flutter/material.dart';
class AnimatedProgressButton extends StatefulWidget {
@override
_AnimatedProgressButtonState createState() => _AnimatedProgressButtonState();
}
class _AnimatedProgressButtonState extends State<AnimatedProgressButton>
with SingleTickerProviderStateMixin
@erikwco
erikwco / animated_pgbutton.dart
Created May 16, 2019 17:34
Animated Button 0
import 'package:flutter/material.dart';
class AnimatedProgressButton extends StatefulWidget {
@override
_AnimatedProgressButtonState createState() => _AnimatedProgressButtonState();
}
class _AnimatedProgressButtonState extends State<AnimatedProgressButton>{
@override
void initState() {
@erikwco
erikwco / main-v0.dart
Created October 14, 2019 17:01
Flutter Communication With Stream
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
//* ***************************************
//* Main
//* ***************************************
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
@erikwco
erikwco / main-v1.dart
Created October 14, 2019 17:28
Flutter Communication Stream
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
//* ***************************************
//* Main
//* ***************************************
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
@erikwco
erikwco / general-info-v0.dart
Last active October 14, 2019 21:54
Flutter Communication With Streams
import 'dart:async';
import 'package:flutter/material.dart';
class ClientInformationPage extends StatefulWidget{
ClientInformationPage();
@override
@erikwco
erikwco / main.dart
Created November 19, 2019 19:44 — forked from netsmertia/main.dart
flutter image drawing in canvas
import 'package:flutter/material.dart';
import 'dart:ui' as ui;
import 'package:flutter/services.dart' show rootBundle;
import 'dart:async';
import 'dart:typed_data';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.