Do these in order.
Between "main"
and "dependencies"
:
"authors": ["Jacob Phillips (https://github.com/jifalops) <[email protected]>"],
"license": "MIT",
"keywords": [
""
<link rel="import" href="../topeka-elements/topeka-datasource.html"> | |
<link rel="import" href="../paper-calculator/paper-calculator.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; |
<link rel="import" href="../ace-element/ace-element.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
Do these in order.
Between "main"
and "dependencies"
:
"authors": ["Jacob Phillips (https://github.com/jifalops) <[email protected]>"],
"license": "MIT",
"keywords": [
""
... | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) => MaterialApp( | |
title: 'My App', | |
home: CurrencyProviderRoot( | |
child: MyHomePage(), | |
)); | |
} |
import 'dart:io'; | |
import 'package:<project_name>/themes.dart'; | |
void main() async { | |
await File('lib/src/_themes.g.scss').writeAsString(themeset.toString(), flush: true); | |
} |
import 'package:flutter/material.dart'; | |
import 'package:<project_name>/config.dart'; | |
import 'package:<project_name>/themes.dart'; | |
import 'package:shared_theme_flutter/shared_theme_flutter.dart' as themer; | |
import 'package:shared_preferences/shared_preferences.dart'; | |
void main() => runApp(App()); | |
class App extends StatefulWidget { | |
_AppState createState() => _AppState(); |
import 'package:flutter/material.dart'; | |
class ABCModel extends InheritedModel<String> { | |
ABCModel({ | |
Key key, | |
this.a, | |
this.b, | |
this.c, | |
Widget child, | |
}) : super(key: key, child: child); |
import 'dart:async'; | |
import 'dart:math'; | |
void main() { | |
/// Use of the SimpleObservable base class. | |
final observable = SimpleObservable<String>(printCallback); | |
observable.values.listen(printStream); | |
/// Recursively listens to [nextValue] and prints changes. | |
printFuture(observable); |