Is it normal ?
here is the code :
import 'package:sky/widgets.dart';
import 'package:sky/painting.dart';
import 'package:sky/material.dart';
class MyToolBar extends StatelessComponent {
Widget build(BuildContext context) {
return new Container(
decoration: const BoxDecoration(
backgroundColor: const Color(0xFF00FFFF)
),
height: 56.0,
padding: const EdgeDims.symmetric(horizontal: 8.0),
child: new Row([
new NetworkImage(src: 'menu.png', width: 25.0, height: 25.0),
new Flexible(child: new Text('My awesome toolbar')),
new NetworkImage(src: 'search.png', width: 25.0, height: 25.0),
])
);
}
}
class Home extends StatelessComponent {
Widget build(BuildContext context) {
return new Center(child: new MyToolBar());
}
}
void main() {
runApp(new App(
title: 'Demo app',
routes: {
'/': (NavigatorState navigator, Route route) => new Home()
}
));
}
if i had a theme in my App() nothing change the Text is always red and big :/
and nothing appear in the logs
my version are :
sky-0.0.52
sky_engine-0.0.30
sky_services-0.0.30
sky_tools-0.0.15
Thanks
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To post to this group, send email to flutt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/8d4d50ca-5efc-4329-8c74-c7ac021d510b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.