(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/cupertino.dart'; | |
| import 'dart:io'; | |
| import 'dart:async'; | |
| //Example | |
| class StartPage extends StatelessWidget { | |
| // Example to Put on Login Function to Only Show on Version Change | |
| // var prefs = await SharedPreferences.getInstance(); |
| import 'package:flutter/cupertino.dart'; | |
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/material.dart'; | |
| void main() { | |
| //runApp(IOSApp()); | |
| //runApp(AndroidApp()); | |
| runApp(defaultTargetPlatform == TargetPlatform.iOS ? IOSApp() : AndroidApp()); | |
| } |
| // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! | |
| /* tslint:disable */ | |
| export const VERSION = { | |
| "dirty": true, | |
| "raw": "30374842-dirty", | |
| "hash": "30374842", | |
| "distance": null, | |
| "tag": null, | |
| "semver": null, | |
| "suffix": "30374842-dirty", |
| import { Component, forwardRef, Renderer2, ViewChild } from '@angular/core'; | |
| import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; | |
| export const EPANDED_TEXTAREA_VALUE_ACCESSOR : any = { | |
| provide: NG_VALUE_ACCESSOR, | |
| useExisting: forwardRef(() => TextareaExpandedComponent), | |
| multi: true, | |
| }; | |
| @Component({ |
| // Copyright 2017, the Flutter project authors. Please see the AUTHORS file | |
| // for details. All rights reserved. Use of this source code is governed by a | |
| // BSD-style license that can be found in the LICENSE file. | |
| import 'dart:math'; | |
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(new MyApp()); | |
| } |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.