Issue 1:
Hello,

Moving from #14551.

We have a Flutter app which we're trying to include Firebase Analytics in it. But whenever we include Firebase Analytics, it started crashing in distribution builds.

After updating all plugins and Flutter, it's building and running but whenever I distribute app via Fabric, all builds are crashing whenever app opens.

Steps to Reproduce

It's not crashing whenever I remove firebase_analytics: 0.2.3 from pubspec.yml (just fyi: there is no implementation of Firebase Analytics in the code). This one line in pubspec.yml crashes in the distribution builds. Does anyone have an idea?

Logs

Mar 9 12:22:07 Candost-iPhone-7 ReportCrash(CrashReporterSupport)[16144] <Notice>: Process: Runner [16143]
Path: /private/var/containers/Bundle/Application/7A3B386A-50A0-472B-ADAC-B4B98C35D585/Runner.app/Runner
OS Version: iPhone OS 11.2.5 (15D60)
Mar 9 12:22:07 Candost-iPhone-7 ReportCrash(CrashReporterSupport)[16144] <Notice>: Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Description: DYLD, Symbol not found: _OBJC_CLASS_$_FIRAnalytics | Referenced from: /private/var/containers/Bundle/Application/7A3B386A-50A0-472B-ADAC-B4B98C35D585/Runner.app/Frameworks/firebase_analytics.framework/firebase_analytics | Expected in: flat namespace | in /private/var/containers/Bundle/Application/7A3B386A-50A0-472B-ADAC-B4B98C35D585/Runner.app/Frameworks/firebase_analytics.framework/firebase_analytics
Triggered by Thread: 0
Mar 9 12:22:07 Candost-iPhone-7 ReportCrash(CrashReporterSupport)[16144] <Notice>: Thread 0 Crashed:
0 dyld	0x0000000104dcaf48 0x104d9c000 + 192328
1 dyld	0x0000000104dca71c 0x104d9c000 + 190236
2 dyld	0x0000000104dca748 0x104d9c000 + 190280
3 dyld	0x0000000104da0498 0x104d9c000 + 17560
4 dyld	0x0000000104da3714 0x104d9c000 + 30484
5 dyld	0x0000000104d9d21c 0x104d9c000 + 4636
Mar 9 12:22:07 Candost-iPhone-7 ReportCrash(CrashReporterSupport)[16144] <Notice>: Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000006 x1: 0x0000000000000004 x2: 0x000000016b4d6520 x3: 0x00000000000000d4
x4: 0x000000016b4d6120 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000020 x9: 0x0000000000000009 x10: 0x6f77656d6172662e x11: 0x62657269662f6b72
x12: 0x656d6172662e7363 x13: 0x7269662f6b726f77 x14: 0x6e615f6573616265 x15: 0x0073636974796c61
x16: 0x0000000000000209 x17: 0x0000000000000000 x18: 0xfffffff0172dd260 x19: 0x0000000000000000
x20: 0x000000016b4d6120 x21: 0x00000000000000d4 x22: 0x000000016b4d6520 x23: 0x0000000000000004
x24: 0x0000000000000006 x25: 0x0000000104928000 x26: 0x0000000104dde000 x27: 0x0000000104dddf88
x28: 0x000000016b4d7b20 fp: 0x000000016b4d60f0 lr: 0x0000000104dca71c
sp: 0x000000016b4d60b0 pc: 0x0000000104dcaf48 cpsr: 0x00000000

Flutter Doctor

I'm using firebase_analytics: 0.2.3 in pubspec.yml and here is the flutter doctor results:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v0.2.0, on Mac OS X 10.13.3 17D102, locale en-DE)
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
[✓] Android Studio (version 3.0)
[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.4)
[✓] Connected devices (1 available)

Issue 2:
Using the example card in the framework yields the above error.

new Card( // 1 required argument(s) expected, but 0 found.
child: new Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
const ListTile(
leading: const Icon(Icons.album),
title: const Text('The Enchanted Nightingale'),
subtitle: const Text('Music by Julie Gable. Lyrics by Sidney Stein.'),
),
new ButtonTheme.bar( // make buttons use the appropriate styles for cards
child: new ButtonBar(
children: <Widget>[
new FlatButton(
child: const Text('BUY TICKETS'),
onPressed: () { /* ... */ },
),
new FlatButton(
child: const Text('LISTEN'),
onPressed: () { /* ... */ },
),
],
),
),
],
),
)

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v0.6.0, on Microsoft Windows [Version 10.0.17134.228], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[√] Android Studio (version 3.1)
[√] IntelliJ IDEA Community Edition (version 2018.1)
[√] VS Code, 64-bit edition (version 1.26.1)
[√] Connected devices (1 available)