resolve method

  1. @override
ScrollViewModifierSpec resolve(
  1. MixData mix
)
override

Resolves to ScrollViewModifierSpec using the provided MixData.

If a property is null in the MixData, it falls back to the default value defined in the defaultValue for that property.

final scrollViewModifierSpec = ScrollViewModifierSpecAttribute(...).resolve(mix);

Implementation

@override
ScrollViewModifierSpec resolve(MixData mix) {
  return ScrollViewModifierSpec(
    scrollDirection: scrollDirection,
    reverse: reverse,
    padding: padding?.resolve(mix),
    physics: physics,
    clipBehavior: clipBehavior,
  );
}