capitalize property

String? get capitalize

Text Widgetir donturur BaslangiciBuyukYapar

Implementation

// Widget mcgText({Color color, double fontSize, FontWeight fontWeight, int maxLines, TextAlign textAlign = TextAlign.start}) {
//   return Text(
//     this,
//     maxLines: maxLines,
//     textAlign: textAlign,
//     style: TextStyle(color: color, fontSize: fontSize, fontWeight: fontWeight),
//   );
// }

///BaslangiciBuyukYapar
String? get capitalize => safeLength == 0
    ? this
    : safeLength == 1
        ? this!.toUpperCase()
        : this!.substring(0, 1).toUpperCase() + this!.substring(1);