StringExtensions extension
- on
Properties
- isEmail → bool
-
Available on String?, provided by the StringExtensions extension
no setter - isInt → bool
-
Available on String?, provided by the StringExtensions extension
no setter - isNotNullOrEmpty → bool
-
Available on String?, provided by the StringExtensions extension
no setter - isNullOrEmpty → bool
-
Available on String?, provided by the StringExtensions extension
no setter - isNumeric → bool
-
Available on String?, provided by the StringExtensions extension
no setter - isPhoneNumber → bool
-
Available on String?, provided by the StringExtensions extension
no setter
Methods
-
between(
String start, String end) → String? -
Available on String?, provided by the StringExtensions extension
İki substring arasındaki kısmı döndürür -
capitalize(
) → String -
Available on String?, provided by the StringExtensions extension
-
containsIgnoreCase(
String value) → bool -
Available on String?, provided by the StringExtensions extension
-
endsWithIgnoreCase(
String value) → bool -
Available on String?, provided by the StringExtensions extension
-
launchEmail(
{String? subject, String? body}) → Future< bool> -
Available on String?, provided by the StringExtensions extension
-
launchMaps(
) → Future< bool> -
Available on String?, provided by the StringExtensions extension
=================== Harita =================== -
launchPhone(
) → Future< bool> -
Available on String?, provided by the StringExtensions extension
=================== Telefon / SMS / E-mail =================== -
launchSms(
{String? body}) → Future< bool> -
Available on String?, provided by the StringExtensions extension
-
launchWebsite(
) → Future< bool> -
Available on String?, provided by the StringExtensions extension
=================== Web Sitesi =================== -
normalizeSpaces(
) → String -
Available on String?, provided by the StringExtensions extension
Çoklu boşlukları tek boşluk yapar -
onlyLetters(
) → String -
Available on String?, provided by the StringExtensions extension
Sadece harf bırakır -
onlyNumbers(
) → String -
Available on String?, provided by the StringExtensions extension
Sadece rakam bırakır -
padLeftWith(
String char, int length) → String -
Available on String?, provided by the StringExtensions extension
-
padRightWith(
String char, int length) → String -
Available on String?, provided by the StringExtensions extension
-
removeSpaces(
) → String -
Available on String?, provided by the StringExtensions extension
-
removeSpecialChars(
) → String -
Available on String?, provided by the StringExtensions extension
Sadece harf ve rakam bırakır -
repeat(
int times) → String -
Available on String?, provided by the StringExtensions extension
-
replaceAllIgnoreCase(
String from, String to) → String -
Available on String?, provided by the StringExtensions extension
-
startsWithIgnoreCase(
String value) → bool -
Available on String?, provided by the StringExtensions extension
-
substringSafe(
int start, [int? end]) → String -
Available on String?, provided by the StringExtensions extension
-
titleCase(
) → String -
Available on String?, provided by the StringExtensions extension
-
toBool(
{bool caseSensitive = false}) → bool -
Available on String?, provided by the StringExtensions extension
-
toBoolSafe(
{bool defaultValue = false}) → bool -
Available on String?, provided by the StringExtensions extension
-
toCamelCase(
) → String -
Available on String?, provided by the StringExtensions extension
-
toDateTimeSafe(
{String? pattern, DateTime? defaultValue}) → DateTime? -
Available on String?, provided by the StringExtensions extension
String'i DateTime olarak parse eder. pattern belirtilmezse ISO8601 kabul edilir -
toDoubleOrZero(
) → double -
Available on String?, provided by the StringExtensions extension
-
toDoubleSafe(
{double defaultValue = 0.0}) → double -
Available on String?, provided by the StringExtensions extension
-
toIntOrZero(
) → int -
Available on String?, provided by the StringExtensions extension
-
toIntSafe(
{int defaultValue = 0}) → int -
Available on String?, provided by the StringExtensions extension
-
toKebabCase(
) → String -
Available on String?, provided by the StringExtensions extension
-
toLabel(
{double fontSize = 14, Color color = Colors.black, FontWeight fontWeight = FontWeight.normal}) → Text -
Available on String?, provided by the StringExtensions extension
-
toLowerCaseFirstLetter(
) → String -
Available on String?, provided by the StringExtensions extension
-
toRichText(
{TextStyle? style, List< InlineSpan> ? children}) → RichText -
Available on String?, provided by the StringExtensions extension
-
toSnakeCase(
) → String -
Available on String?, provided by the StringExtensions extension
-
toText(
{TextStyle? style, TextAlign? textAlign, int? maxLines, TextOverflow? overflow}) → Text -
Available on String?, provided by the StringExtensions extension
-
toUpperCaseFirstLetter(
) → String -
Available on String?, provided by the StringExtensions extension
-
trimAll(
) → String -
Available on String?, provided by the StringExtensions extension
-
truncate(
int length, {String omission = '...'}) → String -
Available on String?, provided by the StringExtensions extension