Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
6cb91b1c
Unverified
Commit
6cb91b1c
authored
May 13, 2021
by
Ian Hickson
Committed by
GitHub
May 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Be more consistent about how we mark classes that can't be extended. (#81632)
parent
56726796
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
2 deletions
+6
-2
layout_helper.dart
packages/flutter/lib/src/rendering/layout_helper.dart
+2
-0
viewport.dart
packages/flutter/lib/src/rendering/viewport.dart
+1
-1
autofill.dart
packages/flutter/lib/src/services/autofill.dart
+2
-0
mouse_cursor.dart
packages/flutter/lib/src/services/mouse_cursor.dart
+1
-1
No files found.
packages/flutter/lib/src/rendering/layout_helper.dart
View file @
6cb91b1c
...
@@ -18,6 +18,8 @@ typedef ChildLayouter = Size Function(RenderBox child, BoxConstraints constraint
...
@@ -18,6 +18,8 @@ typedef ChildLayouter = Size Function(RenderBox child, BoxConstraints constraint
///
///
/// All of the functions adhere to the [ChildLayouter] signature.
/// All of the functions adhere to the [ChildLayouter] signature.
class
ChildLayoutHelper
{
class
ChildLayoutHelper
{
// This class is not meant to be instantiated or extended; this constructor
// prevents instantiation and extension.
const
ChildLayoutHelper
.
_
();
const
ChildLayoutHelper
.
_
();
/// Returns the [Size] that the [RenderBox] would have if it were to
/// Returns the [Size] that the [RenderBox] would have if it were to
...
...
packages/flutter/lib/src/rendering/viewport.dart
View file @
6cb91b1c
...
@@ -32,7 +32,7 @@ enum CacheExtentStyle {
...
@@ -32,7 +32,7 @@ enum CacheExtentStyle {
abstract
class
RenderAbstractViewport
extends
RenderObject
{
abstract
class
RenderAbstractViewport
extends
RenderObject
{
// This class is intended to be used as an interface, and should not be
// This class is intended to be used as an interface, and should not be
// extended directly; this constructor prevents instantiation and extension.
// extended directly; this constructor prevents instantiation and extension.
factory
RenderAbstractViewport
.
_
()
=>
throw
Error
();
RenderAbstractViewport
.
_
();
/// Returns the [RenderAbstractViewport] that most tightly encloses the given
/// Returns the [RenderAbstractViewport] that most tightly encloses the given
/// render object.
/// render object.
...
...
packages/flutter/lib/src/services/autofill.dart
View file @
6cb91b1c
...
@@ -12,6 +12,8 @@ import 'text_input.dart';
...
@@ -12,6 +12,8 @@ import 'text_input.dart';
/// documentation for their availability on each platform, and the platform
/// documentation for their availability on each platform, and the platform
/// values each autofill hint corresponds to.
/// values each autofill hint corresponds to.
class
AutofillHints
{
class
AutofillHints
{
// This class is not meant to be instantiated or extended; this constructor
// prevents instantiation and extension.
AutofillHints
.
_
();
AutofillHints
.
_
();
/// The input field expects an address locality (city/town).
/// The input field expects an address locality (city/town).
...
...
packages/flutter/lib/src/services/mouse_cursor.dart
View file @
6cb91b1c
...
@@ -417,7 +417,7 @@ class SystemMouseCursor extends MouseCursor {
...
@@ -417,7 +417,7 @@ class SystemMouseCursor extends MouseCursor {
class
SystemMouseCursors
{
class
SystemMouseCursors
{
// This class only contains static members, and should not be instantiated or
// This class only contains static members, and should not be instantiated or
// extended.
// extended.
factory
SystemMouseCursors
.
_
()
=>
throw
Error
();
SystemMouseCursors
.
_
();
// The mapping in this class must be kept in sync with the following files in
// The mapping in this class must be kept in sync with the following files in
// the engine:
// the engine:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment