extension_ksama 0.0.1 copy "extension_ksama: ^0.0.1" to clipboard
extension_ksama: ^0.0.1 copied to clipboard

A package that provides commonly used extensions to speed up development.

extension_ksama #

Collection of must have extensions on DateTime, String, BuildContext and many more.

Getting StartedExtensions

Getting started #

Import

import 'package:extension/_ksamaextension_ksama.dart';

List of Extensions #

Currently we have following extensions getters, operators and methods.

Extensions on DateTime:

- DateTime get onlyDate
- DateTime get removeMicros
- DateTime get removeMillis
- DateTime get removeSeconds
- DateTime get removeMinutes
- DateTime get nextDay
- DateTime get prevDay
- DateTime get nextYear
- DateTime get prevYear
- bool get isToday
- bool get isTomorrow
- bool get isYesterday
- bool get isWeekend
- bool get isWeekday

Extensions on String:

- String get capitalisation
- String get titleCase
- String get pascalCase
- String get camelCase
- String get toggleCase
- String get reverse
- List<String> get tokenise
- String get abbreviate
- int? toInt({int? base})
- double? toDouble()
- bool? toBool()
- bool get isBlanksOnly
- bool get isEmail
- bool get isISBN
- bool get isIPv4
- bool get isIPv6
- bool get isDecimal
- bool get isBinary
- bool get isOctal
- bool get isHexadecimal
- bool get isDouble
- bool get isBool

Extensions on BuildContext:

- ThemeData get theme
- ColorScheme get colorScheme
- TextTheme get textTheme
2
likes
140
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

A package that provides commonly used extensions to speed up development.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on extension_ksama