GitDiffController constructor

GitDiffController({
  1. GitDiffModel? initial,
})

Creates a controller with an optional initial model.

Implementation

GitDiffController({GitDiffModel? initial})
  : _model = initial ?? GitDiffModel(width: 80, height: 24);