StringExt extension

on

Methods

toJPGImage({double? width, double? height, double? square, BoxFit? fit, BorderRadius? borderRadius, bool isNetwork = false}) Widget

Available on String, provided by the StringExt extension

toOutlinedButton({double? titleSize, Color titleColor = Colors.black, VoidCallback? onTap, Color? bgEnableColor, Color? bgDisableColor}) Widget

Available on String, provided by the StringExt extension

toSVGImage({double? width, double? height, double? square, Color? color}) Widget

Available on String, provided by the StringExt extension

toText({double size = 16, FontWeight weight = FontWeight.w600, Color color = Colors.white, int? lines, TextOverflow? overflow, TextAlign? align}) Text

Available on String, provided by the StringExt extension

toTextField(BuildContext ctx, {double? width, double? height, FocusNode? focusNode, ValueChanged<String>? onChanged, VoidCallback? onCompleted, TextEditingController? controller, String? hintText, String? errorText, bool? enable, bool? password, TextInputAction? inputAction, TextInputType? keyboardType, TextAlign? textAlign, int? minLines, int? maxLines, double? textSize, FontWeight? textWeight, Color? textColor, Color? hintColor, BoxConstraints? prefixConstraints, BoxConstraints? suffixConstraints, Widget? prefixIcon, Widget? suffixIcon, Color? fillColor, Color? borderColor, double? borderRadius, EdgeInsets? contentPadding, bool? filled, List<TextInputFormatter>? inputFormatter, Key? key}) Widget

Available on String, provided by the StringExt extension

toTextSpan({double size = 16, FontWeight weight = FontWeight.w600, Color color = Colors.white, VoidCallback? onTap}) InlineSpan

Available on String, provided by the StringExt extension

toTitleButton({double? titleSize, Color? titleColor, VoidCallback? onTap, Color? bgEnableColor, Color? bgDisableColor}) Widget

Available on String, provided by the StringExt extension