import angular flex layout

JavaScript
import { FlexLayoutModule } from '@angular/flex-layout';
@NgModule({
imports: [ FlexLayoutModule ],
});
npm install --save @angular/flex-layout @angular/cdk

Source

Also in JavaScript: