DrTextTransitionTitleObject constructor
DrTextTransitionTitleObject(})
Implementation
DrTextTransitionTitleObject(this._name, this._heroTag, this._function,
{List<DrTextTransitionTitleObject>? newTitles,
bool personalized = false,
Widget? overrideWidget,
Function? overrideAction,
TextStyle? style,
Widget? header,
double? headerHeight,
double paddingLeft = 0}) {
this._personalized = personalized;
this._overrideWidget = overrideWidget;
this._overrideAction = overrideAction;
if (this._personalized == true && this._overrideWidget == null)
throw new Exception(
"NetflixAppBar Exception: you can't set title as personalized but it's overrideWidget property as null");
this.newTitles = newTitles;
this.headerHeight = headerHeight;
this.header = header;
this.paddingLeft = paddingLeft;
this.style = style;
}