Pylon<T>.withChild constructor
const
Pylon<T>.withChild ({})
Use this constructor when you want to pass a value to a single child widget and dont need a builder function. You can use a child instead of a builder however if you need to use the value immediately in the child widget then it wont be available until either a builder function is used or the child widget build method uses it Use the regular constructor for lazy inlining
Implementation
const Pylon.withChild(
{super.key, required this.value, required this.child, this.local = false})
: builder = null;