kt_utils 0.1.6 kt_utils: ^0.1.6 copied to clipboard
Useful extension methods such as forEachIndexed, roundPrecision etc.
kt_utils #
Usage #
Just import kt_utils.dart
import 'package:kt_utils/kt_utils.dart';
String Methods #
plus
- Merge text
toCapitalize
- Capitalize first letter
toInt
- Parse to int
toDouble
- Parse to double
reversed
- Reverse text
Double Methods #
roundPrecision
- Rounding number to decimal places
List Methods #
forEachIndexed
- forEach with index
lastIndex
- Last index of list
random
- Return random object
Check out example