Layer constructor

Layer()

Creates an instance of Layer.

Implementation

Layer() {
  if (kFlutterMemoryAllocationsEnabled) {
    FlutterMemoryAllocations.instance.dispatchObjectCreated(
      library: _flutterRenderingLibrary,
      className: '$Layer',
      object: this,
    );
  }
}