// The following are equivalent:
const a1 = Duration(milliseconds: 1);
const b1 = Milliseconds(1);
const c1 = Duration(microseconds: 1000);
// You can also use floating values
const d1 = Seconds(.0001);
// Each class contains shorthands for constant values
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
//----------------------------------------------------------------------------- | |
// EventTypes.js | |
//----------------------------------------------------------------------------- | |
// required event class definitions for MIDI events | |
//----------------------------------------------------------------------------- | |
// Event : base class for all events | |
//----------------------------------------------------------------------------- |
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
Show hidden characters
{ | |
"editor.tokenColorCustomizations": { | |
"textMateRules": [ | |
// Underlined link (e.g. `some-link` in `[Name](some-link)`) | |
{ "scope": "markup.underline.link.markdown", "settings": { "foreground": "#aaaaaa" } }, | |
// List Character (e.g. `-`, `*`, `+`) | |
{ "scope": "punctuation.definition.list.begin.markdown", "settings": { "foreground": "#FFED9D" } }, | |
// Heading Hashes (e.g. `##` in `## HEADING`) | |
{ "scope": "punctuation.definition.heading.markdown", "settings": {} }, | |
// Heading Text (e.g. `HEADING` in `## HEADING`) |