Issue 1:
Steps to Reproduce

Just messing around with the basic template, but since you asked for a report, here you go. :)

The assertion occurred when I added [100] to Colors.teal:

main.dart

import 'package:flutter/material.dart';

void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return new MaterialApp(
title: 'Demo',
theme: new ThemeData(
primarySwatch: Colors.teal[100],
),
home: new MyHomePage(title: 'Demo Home Page'),
);
}
}

class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
final String title;

@override
_MyHomePageState createState() => new _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
int _counter = 0;

void _incrementCounter() {
setState(() {
_counter++;
});
}

@override
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(
title: new Text(widget.title),
),
body: new Center(
child: new Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
new Text(
'You have pushed the blue button ',
),
new Text(
'$_counter',
style: Theme.of(context).textTheme.display1,
),
new Text(
_counter == 1 ? 'time' : 'times'
),
],
),
),
floatingActionButton: new FloatingActionButton(
onPressed: _incrementCounter,
tooltip: 'încrement',
child: new Icon(Icons.add),
), // This trailing comma makes auto-formatting nicer for build methods.
);
}
}

Logs

DEBUG CONSOLE output

> Launching lib/main.dart on Chris's 7+ in debug mode...
> Signing iOS app for device deployment using developer identity: "iPhone Developer: noah HURWITZ (L236D3NJ9F)"
> Xcode build done
> Reloaded 466 of 482 libraries in 2,277ms.
>
> _counter++
> global evaluation not supported
> [VERBOSE-1:FlutterAppDelegate.mm(77)]
> Reloaded 1 of 482 libraries in 790ms.
> Reloaded 1 of 482 libraries in 1,922ms.
> Reloaded 1 of 482 libraries in 710ms.
> Reloaded 1 of 482 libraries in 750ms.
> Reloaded 1 of 482 libraries in 872ms.
> Reloaded 1 of 482 libraries in 746ms.
> ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
> The following assertion was thrown building MyApp(dirty):
> type 'Color' is not a subtype of type 'MaterialColor' of 'primarySwatch' where
> Color is from dart:ui
> MaterialColor is from package:flutter/src/material/colors.dart
> int is from dart:core
> Either the assertion indicates an error in the framework itself, or we should provide substantially
> more information in this error message to help you determine and fix the underlying cause.
> In either case, please report this assertion by filing a bug on GitHub:
> https://github.com/flutter/flutter/issues/new
> When the exception was thrown, this was the stack:
> #0 new ThemeData (package:flutter/src/material/theme_data.dart:78:19)
> #1 MyApp.build (/private/var/mobile/Containers/Data/Application/D21E0705-8433-45E8-8459-EAA541373594/tmp/fluttertestSMPzry/fluttertest/lib/main.dart:11:18)
> #2 StatelessElement.build (package:flutter/src/widgets/framework.dart:3678:28)
> #3 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3625:15)
> #4 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
> #5 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2225:33)
> #6 BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:621:20)
> #7 BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
> #8 BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
> #9 BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
> #10 BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
> #12 _Timer._runTimers (dart:isolate-patch/dart:isolate/timer_impl.dart:382)
> #13 _Timer._handleMessage (dart:isolate-patch/dart:isolate/timer_impl.dart:416)
> #14 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
> (elided one frame from package dart:async-patch)
> ════════════════════════════════════════════════════════════════════════════════════════════════════
> Reloaded 1 of 482 libraries in 913ms.

flutter analyze

> Analyzing /Users/clozach/Documents/fluttertest...
> No issues found!
> Ran in 5.9s

Flutter Doctor

> [✓] Flutter (Channel beta, v0.1.5, on Mac OS X 10.12.6 16G1212, locale en-US)
> • Flutter version 0.1.5 at /Users/clozach/Documents/flutter
> • Framework revision 3ea4d06340 (3 weeks ago), 2018-02-22 11:12:39 -0800
> • Engine revision ead227f118
> • Dart version 2.0.0-dev.28.0.flutter-0b4f01f759
>
> [✓] Android toolchain - develop for Android devices (Android SDK 25.0.3)
> • Android SDK at /Users/clozach/Library/Android/sdk
> • Android NDK at /Users/clozach/Library/Android/sdk/ndk-bundle
> • Platform android-25, build-tools 25.0.3
> • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
> • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
>
> [✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
> • Xcode at /Applications/Xcode.app/Contents/Developer
> • Xcode 9.2, Build version 9C40b
> • ios-deploy 1.9.2
> • CocoaPods version 1.4.0
>
> [✓] Android Studio (version 2.3)
> • Android Studio at /Applications/Android Studio.app/Contents
> • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
>
> [✓] VS Code (version 1.21.1)
> • VS Code at /Users/clozach/Applications/Visual Studio Code.app/Contents
> • Dart Code extension version 2.10.0
>
> [✓] Connected devices (2 available)
> • Chris's 7+ • 70ac7560f7462ec1c00624e5caea54391427c752 • ios • iOS 11.2.5
> • iPhone X • CB912A56-5869-4312-9977-E00B6B7BF326 • ios • iOS 11.2 (simulator)
>
> • No issues found!

Issue 2:
We should hide the message saying this could be a framework bug if the first stack frame is not in the framework. In fact we should probably figure out which package is to blame and then explicitly name that.

Depends on #4021.