mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Remove unused Effen/widgets component. This was erroneously committed with the initial commit
TBR=eseidel BUG= Review URL: https://codereview.chromium.org/983173003
This commit is contained in:
parent
21012343aa
commit
196fd752c4
@ -1,41 +0,0 @@
|
||||
library item;
|
||||
|
||||
import '../../../framework/fn.dart';
|
||||
import 'dart:sky' as sky;
|
||||
import 'widgets.dart';
|
||||
|
||||
enum Color { RED, GREEN }
|
||||
|
||||
class Item extends Component {
|
||||
|
||||
String label;
|
||||
|
||||
Color _color = Color.GREEN;
|
||||
|
||||
Item({ Object key, this.label }) : super(key: key);
|
||||
|
||||
Node render() {
|
||||
return new Container(
|
||||
children: [
|
||||
new Radio(
|
||||
onChanged: changed,
|
||||
value: Color.GREEN,
|
||||
groupValue: _color
|
||||
),
|
||||
new Radio(
|
||||
onChanged: changed,
|
||||
value: Color.RED,
|
||||
groupValue: _color
|
||||
),
|
||||
|
||||
new Text("$label: ${Color.values[_color.index]}")
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
void changed(Object value) {
|
||||
setState(() {
|
||||
_color = value;
|
||||
});
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user