commonPipes top-level constant

const commonPipes = const [AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, CurrencyPipe, DatePipe, ReplacePipe]

A collection of built-in AngularDart core pipes.

This collection can be used to quickly enumerate all the built-in pipes in the pipes property of the @Component annotation. For most applications it's recommended to only reference the exact pipes you use, however.

Implementation

const commonPipes = [
  AsyncPipe,
  UpperCasePipe,
  LowerCasePipe,
  JsonPipe,
  SlicePipe,
  DecimalPipe,
  PercentPipe,
  CurrencyPipe,
  DatePipe,
  ReplacePipe
]