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
function
Func<View, int>The function to be executed.
view
ViewThe view where the data will be retrieved.