浏览代码

[Fix] Remove unnecessary textDirection

/main
iizzaya 5 年前
当前提交
cad3264c
共有 1 个文件被更改,包括 0 次插入10 次删除
  1. 10
      Runtime/material/date_picker.cs

10
Runtime/material/date_picker.cs


SelectableDayPredicate selectableDayPredicate = null,
DatePickerMode initialDatePickerMode = DatePickerMode.day,
Locale locale = null,
TextDirection textDirection = TextDirection.ltr,
TransitionBuilder builder = null
) {
D.assert(initialDate >= firstDate, () => "initialDate must be on or after firstDate");

lastDate: lastDate,
selectableDayPredicate: selectableDayPredicate,
initialDatePickerMode: initialDatePickerMode
);
child = new Directionality(
textDirection: textDirection,
child: child
);
if (locale != null) {

}
MaterialLocalizations localizations;
TextDirection textDirection;
this.textDirection = Directionality.of(this.context);
}
DateTime _todayDate;

bool _announcedInitialDate = false;
public MaterialLocalizations localizations;
public TextDirection textDirection;
this.textDirection = Directionality.of(this.context);
if (!this._announcedInitialDate) {
this._announcedInitialDate = true;
}

正在加载...
取消
保存