SplitViewController constructor
SplitViewController({
- List<
double?> ? weights, - List<
WeightLimit?> ? limits,
Creates a SplitViewController
The weights
specifies the ratio in the view. The sum of the weights
cannot exceed 1.
Implementation
factory SplitViewController(
{List<double?>? weights, List<WeightLimit?>? limits}) {
if (weights == null) {
weights = List.empty(growable: true);
}
if (limits == null) {
limits = List.empty(growable: true);
}
return SplitViewController._(weights, limits);
}