Make dart:ui#Paint final to allow changes/disallow implementing. (flutter/engine#50557)
Closes https://github.com/flutter/flutter/issues/142937.
This commit is contained in:
@@ -1087,7 +1087,7 @@ enum Clip {
|
||||
///
|
||||
/// Most APIs on [Canvas] take a [Paint] object to describe the style
|
||||
/// to use for that operation.
|
||||
class Paint {
|
||||
final class Paint {
|
||||
/// Constructs an empty [Paint] object with all fields initialized to
|
||||
/// their defaults.
|
||||
Paint();
|
||||
|
||||
Reference in New Issue
Block a user