GitDiffController constructor
GitDiffController({
- GitDiffModel? initial,
Creates a controller with an optional initial model.
Implementation
GitDiffController({GitDiffModel? initial})
: _model = initial ?? GitDiffModel(width: 80, height: 24);