Method Func
Func(Func<View?, int>, View?)
Creates a Pos object that computes the position based on the passed view and by executing the provided function. The function will be called every time the position is needed.
public static Pos Func(Func<View?, int> function, View? view = null)
Parameters
functionFunc<View, int>The function to be executed.
viewViewThe view where the data will be retrieved.