function gi() { curl http://www.gitignore.io/api/$@ ;}$ gi list| import 'package:flutter/material.dart'; | |
| class Bubble extends StatelessWidget { | |
| Bubble({this.message, this.time, this.delivered, this.isMe}); | |
| final String message, time; | |
| final delivered, isMe; | |
| @override | |
| Widget build(BuildContext context) { |
| // This is a super simplified example of how to use the new dagger.android framework | |
| // introduced in Dagger 2.10. For a more complete, in-depth guide to dagger.android | |
| // read https://proandroiddev.com/how-to-android-dagger-2-10-2-11-butterknife-mvp-part-1-eb0f6b970fd | |
| // For a complete codebase using dagger.android 2.11-2.17, butterknife 8.7-8.8, and MVP, | |
| // see https://github.com/vestrel00/android-dagger-butterknife-mvp | |
| // This example works with Dagger 2.11-2.17. Starting with Dagger 2.11, | |
| // @ContributesAndroidInjector was introduced removing the need to define @Subcomponent classes. |
| // Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc | |
| // jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/ | |
| // author: Pawel Kozlowski | |
| var myApp = angular.module('myApp', []); | |
| //service style, probably the simplest one | |
| myApp.service('helloWorldFromService', function() { | |
| this.sayHello = function() { | |
| return "Hello, World!" |