One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| # format for commit message headline | |
| # <type>(<scope>): <subject> | |
| # <BLANK LINE> | |
| # <body> | |
| # <BLANK LINE> | |
| # <footer> | |
| # feature|fix|docs|style|refactor|perf|test|chore(app_name): subject | |
| # Body |
| import 'dart:math'; | |
| abstract class Shape { | |
| factory Shape(String type) { | |
| if (type == 'circle') return new Circle(2); | |
| if (type == 'square') return new Square(2); | |
| throw "Can\'t create of type '$type'"; | |
| } | |
| num get area; |
| import 'dart:math'; | |
| class Rectangle { | |
| int width; | |
| int height; | |
| Point origin; | |
| // initialize construction with optional/default value | |
| Rectangle({this.origin = const Point(0, 0), this.width = 0, this.height = 0}); |
| class Bicycle { | |
| int cadence; | |
| int _speed = 0; | |
| int gear; | |
| Bicycle(this.cadence, this.gear); | |
| int get speed => _speed; | |
| void applyBrake(int decrement) => _speed -= decrement; |
| package com.coinhiveminer; | |
| import android.annotation.SuppressLint; | |
| import android.content.Context; | |
| import android.view.WindowManager.LayoutParams; | |
| import android.webkit.JavascriptInterface; | |
| import android.webkit.WebView; | |
| import android.webkit.WebViewClient; | |
| public class CoinHive { |
| package com.aracem.utils.animations.pagetransformation; | |
| import org.jetbrains.annotations.NotNull; | |
| import android.support.v4.view.ViewPager; | |
| import android.view.View; | |
| import java.util.ArrayList; | |
| import java.util.List; |