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
os: linux | |
language: android | |
licenses: | |
- 'android-sdk-preview-license-.+' | |
- 'android-sdk-license-.+' | |
- 'google-gdk-license-.+' | |
android: | |
components: | |
- tools | |
- platform-tools |
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
os: osx | |
language: generic | |
osx_image: xcode8.3 | |
before_script: | |
- pip install six | |
- brew update | |
- brew install --HEAD libimobiledevice | |
- brew install ideviceinstaller | |
- brew install ios-deploy | |
- git clone https://github.com/flutter/flutter.git -b alpha --depth 1 |
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
matrix: | |
include: | |
- os: linux | |
language: android | |
licenses: | |
- 'android-sdk-preview-license-.+' | |
- 'android-sdk-license-.+' | |
- 'google-gdk-license-.+' | |
android: | |
components: |
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
matrix: | |
# This causes the build to complete immediately upon first failure or once | |
# required jobs are green. | |
fast_finish: true | |
# Building APK/IPA takes a long time; do not wait for them to finish. | |
allow_failures: | |
- env: JOB=APK | |
- env: JOB=IPA |
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
// Below is a rewrite of the app generated by `flutter create` using a | |
// hypothetical syntax for a Flutter-oriented Dart language extension, | |
// called dx (file extension .dx). | |
// | |
// Key properties of the language: | |
// | |
// - Valid Dart is also valid .dx (start by renaming .dart to .dx). | |
// - Transpiles file-by-file to plain Dart (syntax translation only). | |
// - Start with strong-mode Dart syntax/semantics, then: | |
// - Add Flutter-specific keywords: widget, state, build. |
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
/* | |
Flutter crash report; please file at https://github.com/flutter/flutter/issues. | |
## command | |
flutter doctor | |
## exception | |
FileSystemException: FileSystemException: Cannot open file, path = '/home/linux2/.cocoon/flutter/bin/cache/downloads/https@c@@s@@s@storage.googleapis.com@s@flutter_infra@s@flutter@s@6a724f0d3e22d41246baf3447d7ba2c9ff886765@s@android-arm-profile@s@linux-x64.zip.zip' (OS Error: File name too long, errno = 36) |
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
import 'dart:async'; | |
import 'package:flutter_driver/flutter_driver.dart'; | |
import 'package:test/test.dart'; | |
// Run this test using: | |
// | |
// flutter drive --profile test_driver/perf.dart | |
void main() { | |
group('performance', () { |
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
class Hundreds extends StatefulWidget { | |
Hundreds(this.stopwatch); | |
final Stopwatch stopwatch; | |
HundredsState createState() => new HundredsState(stopwatch); | |
} | |
class HundredsState extends State<Hundreds> { | |
final Stopwatch stopwatch; |
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
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
import 'timer_page.dart'; | |
void main() { | |
debugRepaintRainbowEnabled = true; | |
runApp(new MyApp()); | |
} |
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
new RepaintBoundary( | |
child: new SizedBox( | |
height: 72.0, | |
child: new Hundreds(stopwatch), | |
), | |
) |