Skip to content

Commit 394b81e

Browse files
authored
Make dart:ui#Paint final to allow changes/disallow implementing. (flutter#50557)
Closes flutter#142937.
1 parent 2e929f5 commit 394b81e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ui/painting.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ enum Clip {
10871087
///
10881088
/// Most APIs on [Canvas] take a [Paint] object to describe the style
10891089
/// to use for that operation.
1090-
class Paint {
1090+
final class Paint {
10911091
/// Constructs an empty [Paint] object with all fields initialized to
10921092
/// their defaults.
10931093
Paint();

0 commit comments

Comments
 (0)