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
// Copyright 2017 The Chromium Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
import 'dart:async'; | |
import 'package:meta/meta.dart' show required, visibleForTesting; | |
import 'method_channel_url_launcher.dart'; |
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
#!/bin/bash | |
set -e | |
if [ $# -eq 0 ] | |
then | |
echo Usage: ./coverage.sh package_1 package_2 ... | |
exit 1 | |
fi | |
for package in $@; do |
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
jackson-macbookpro4:packages jackson$ pub global run flutter_plugin_tools drive-examples | |
RUNNING DRIVER TEST for cloud_firestore/example/test_driver/cloud_firestore.dart | |
Running "flutter packages get" in example... 1.4s | |
Using device Android SDK built for x86. | |
Starting application: test_driver/cloud_firestore.dart | |
Initializing gradle... 0.6s | |
Resolving dependencies... 2.0s | |
Installing build/app/outputs/apk/app.apk... 2.6s | |
Running Gradle task 'assembleDebug'... | |
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) |
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
@deprecated('Use `FacebookAuthProvider` and `signInAndRetrieveData` instead') | |
Future<FirebaseUser> signInWithFacebook( | |
{@required String accessToken}) { | |
return signIn(credential: FacebookAuthProvider.getCredential(accessToken: accessToken)); | |
} | |
/// Signs in with a Twitter account using the specified credentials. | |
/// | |
/// The returned future completes with the signed-in user or a [PlatformException], if sign in failed. | |
@deprecated('Use `TwitterAuthProvider` and `signInAndRetrieveData` instead') |
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
// Copyright (c) 2015, the Flutter project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'package:flutter/animation.dart'; | |
import 'package:flutter/widgets.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
import 'package:flutter/services.dart'; |
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'; | |
void main() => runApp(new MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return new MaterialApp( | |
title: 'Flutter Demo', | |
theme: new ThemeData( |
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
// Non-confidential feedback for Posse | |
class SentryHttpClient extends BaseClient { | |
SentryHttpClient(this._inner); | |
final Client _inner; | |
@override | |
Future<StreamedResponse> send(BaseRequest request) async { | |
try { | |
return _inner.send(request); |
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
// Non-confidential feedback | |
import 'dart:math' as math; | |
import 'package:flutter/material.dart'; | |
const _kMidHeadingsHeight = 128.0; | |
const _kMinHeadingsHeight = 72.0; | |
// SectionHeadingsLayout computes the initial bounds of each heading based | |
// on the layout configuration: |
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:math' as math; | |
import 'package:flutter/material.dart'; | |
class PosseDemo extends StatelessWidget { | |
Widget build(BuildContext context) { | |
return new Scaffold( | |
body: new CustomScrollView( | |
slivers: [ |
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'; | |
class Demo extends StatefulWidget { | |
@override | |
DemoState createState() => new DemoState(); | |
} | |
class DemoState extends State<Demo> with TickerProviderStateMixin { | |
@override |