Category : XML

XML Layout for Flutter. Brings Angular’s style to Flutter! Imagine that you can do this : <Container width=”50 | widthPercent” height=”50 | heightPercent” color=”blue” :text=”‘Hello world!'” :opacity=”.9″ :center :if=”ctrl.textVisible | behavior” /> Instead of this: final size = MediaQuery.of(context).size; final __widget = StreamBuilder( initialData: ctrl.textVisible.value, stream: ctrl.textVisible, builder: (BuildContext context, snapshot) { if (snapshot.data) { ..

Read more