createCommonBehavior method

  1. @override
InitialHintBehavior<D> createCommonBehavior()
override

Implementation

@override
common.InitialHintBehavior<D> createCommonBehavior() {
  final behavior = FlutterInitialHintBehavior<D>();

  if (hintDuration != null) {
    behavior.hintDuration = hintDuration!;
  }

  if (maxHintTranslate != null) {
    behavior.maxHintTranslate = maxHintTranslate!;
  }

  if (maxHintScaleFactor != null) {
    behavior.maxHintScaleFactor = maxHintScaleFactor!;
  }

  return behavior;
}