This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ================================================================================================= | |
// | |
// Created by Rodrigo Lopez [roipeker™] on Jan 16 2019. | |
// | |
// ================================================================================================= | |
/* | |
== Sample screenshots == |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ================================================================================================= | |
// | |
// Created by Rodrigo Lopez [roipeker™] on 21/04/2018. | |
// | |
// ================================================================================================= | |
// ** Cubic Bezier Easing ** | |
// based on https://github.com/gre/bezier-easing/ | |
// | |
// Compatible with Greensock and Starling tween engine. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ================================================================================================= | |
// | |
// Created by Rodrigo Lopez [roipeker™] on 23/04/2018. | |
// | |
// ================================================================================================= | |
/** | |
* | |
* Remember to set a good value for antialiasing: starling.antiAliasing = 8; | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ================================================================================================= | |
// | |
// Created by Rodrigo Lopez [roipeker™] on 26/04/2018. | |
// | |
// ================================================================================================= | |
package roipeker.display.material { | |
// Values (in dp) based on: | |
// https://material.io/guidelines/material-design/elevation-shadows.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ================================================================================================= | |
// | |
// Created by Rodrigo Lopez [roipeker™] on 26/04/2018. | |
// | |
// ================================================================================================= | |
/** | |
* | |
* Cubic bezier path compatible with Tween engines (x/y/rotation), specially designed to use in Starling Tween |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ================================================================================================= | |
// | |
// Created by Rodrigo Lopez [roipeker™] on 06/11/2018. | |
// | |
// ================================================================================================= | |
package { | |
import feathers.controls.TabBar; | |
import feathers.controls.ToggleButton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ================================================================================================= | |
// | |
// Created by Rodrigo Lopez [roipeker™] on 06/11/2018. | |
// | |
// ================================================================================================= | |
package { | |
import feathers.controls.TabBar; | |
import feathers.controls.ToggleButton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ================================================================================================= | |
// | |
// Created by Rodrigo Lopez [roipeker™] on 07/11/2018. | |
// | |
// ================================================================================================= | |
package com.roipeker.feathers { | |
import feathers.core.FeathersControl; | |
import flash.utils.Dictionary; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ================================================================================================= | |
// | |
// Modified by Rodrigo Lopez [roipeker™] on 20/01/2019. | |
// | |
// original class: | |
// https://github.com/tschneidereit/SwiftSuspenders/blob/master/src/avmplus/DescribeTypeJSON.as | |
// | |
// Check https://jacksondunstan.com/articles/2609 for reference. | |
// | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
List<Duration> duraciones = List<Duration>(); | |
duraciones.add(Duration(hours: 1, minutes: 10)); | |
duraciones.add(Duration(minutes: 30)); | |
duraciones.add(Duration(minutes: 48, seconds: 30)); | |
duraciones.add(Duration(hours: 2, minutes: 20)); | |
Duration resultado = duraciones.reduce((d1, d2) => d1 + d2); | |
print("${resultado}"); |
OlderNewer