David Ford
May 15, 2018 · 1 min read

Does this mean it’s hard to write custom components, since they’re in low-level platform specific stuff?

No. It’s super easy to write custom components. Most of the low-level building blocks are already in place.

Here is the simplest possible custom component (they are called widgets in Flutter):

class ThreeLabels extends StatelessWidget {

  @override
  Widget build(BuildContext ctx) => Row(children[
     Text("hello1"), 
     Text("hello2"),
     Text("hello3")
  ]);

}

    David Ford

    Written by

    Developer, Trainer, Coach | Kotlin | React | Flutter | https://smart-soft.com