HeadTitle constructor

const HeadTitle(
  1. String title, {
  2. Key? key,
  3. String? subTitle,
  4. Color color = const Color(0xff2d85f0),
  5. TextStyle? titleStyle,
  6. String? subTitleStyle,
})

@param title 标题文字 @param subTitle 副标题文字 @param color 主题色

Implementation

const HeadTitle(this.title,
    {Key? key,
    this.subTitle,
    this.color = const Color(0xff2d85f0),
    this.titleStyle,
    this.subTitleStyle})
    : super(key: key);