Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Unified Diff: sky/framework/components/radio.dart

Issue 1019023003: Improve Material ink effects (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/framework/components/radio.dart
diff --git a/sky/framework/components/radio.dart b/sky/framework/components/radio.dart
index d820488e707138ee1d73d26d9d60add12b7ecd66..aed1b81ad62a79b00086c4b33987850ef2ff4755 100644
--- a/sky/framework/components/radio.dart
+++ b/sky/framework/components/radio.dart
@@ -4,6 +4,7 @@
import '../fn.dart';
import 'button_base.dart';
+import 'ink_well.dart';
import 'material.dart';
typedef void ValueChanged(value);
@@ -54,7 +55,7 @@ class Radio extends ButtonBase {
Node buildContent() {
return new EventTarget(
- new Material(
+ new InkWell(
style: highlight ? _highlightStyle : _style,
children: value == groupValue ? [new Container(style: _dotStyle )] : []
),

Powered by Google App Engine
This is Rietveld 408576698