extensions_lover 1.0.1 copy "extensions_lover: ^1.0.1" to clipboard
extensions_lover: ^1.0.1 copied to clipboard

Contains some of the methods and getters in extensions that mostly used by Flutter Developer

example/main.dart

// ignore_for_file: avoid_print

import 'package:extensions_lover/extensions_lover.dart';

void main() {
  const helloFlutter = 'Hello Flutter';

  /// concatenate Asterisk
  print(helloFlutter.concatenateAsterisk);

  /// concatenate Asterisk
  print(helloFlutter.concatenateAsterisk);

  /// concatenate Colon
  print(helloFlutter.concatenateColon);

  /// concatenate Exclamation
  print(helloFlutter.concatenateExclamation);

  /// concatenate Comma
  print(helloFlutter.concatenateComma);

  /// concatenate Dash
  print(helloFlutter.concatenateDash);

  /// concatenate Hash
  print(helloFlutter.concatenateHash);

  /// concatenate Space
  print(helloFlutter.concatenateSpace);

  /// concatenate Newline
  print(helloFlutter.concatenateNewline);

  /// concatenate Brackets
  print(helloFlutter.concatenateBrackets);

  /// concatenate Question Mark English
  print(helloFlutter.concatenateQuestionMarkEnglish);

  /// concatenate Dollar Sign
  print(helloFlutter.concatenateDollarSign);

  /// concatenate Question Mark Arabic
  print(helloFlutter.concatenateQuestionMarkArabic);

  ///
  /// For Lists
  ///
  List<dynamic>? list;
  print(list.isNullOrEmpty); // true
  list = [];
  print(list.isNullOrEmpty); // true
  list = ['Flutter'];
  print(list.isNullOrEmpty); // false
  print(list.isNotNullNotEmpty); // true
}
1
likes
160
pub points
0%
popularity

Publisher

unverified uploader

Contains some of the methods and getters in extensions that mostly used by Flutter Developer

Repository (GitHub)
View/report issues

Topics

#extensions

Documentation

API reference

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on extensions_lover