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
0cdb3bf5
Unverified
Commit
0cdb3bf5
authored
Jun 09, 2022
by
Alexandre Ardhuin
Committed by
GitHub
Jun 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export public API types from foundation/*.dart library. (#105648)
parent
ac979888
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
21 additions
and
9 deletions
+21
-9
text_theme.dart
packages/flutter/lib/src/cupertino/text_theme.dart
+0
-1
theme.dart
packages/flutter/lib/src/cupertino/theme.dart
+1
-2
_isolates_io.dart
packages/flutter/lib/src/foundation/_isolates_io.dart
+2
-0
_isolates_web.dart
packages/flutter/lib/src/foundation/_isolates_web.dart
+2
-0
assertions.dart
packages/flutter/lib/src/foundation/assertions.dart
+4
-0
binding.dart
packages/flutter/lib/src/foundation/binding.dart
+2
-1
change_notifier.dart
packages/flutter/lib/src/foundation/change_notifier.dart
+2
-0
consolidate_response.dart
...ages/flutter/lib/src/foundation/consolidate_response.dart
+3
-0
debug.dart
packages/flutter/lib/src/foundation/debug.dart
+4
-0
serialization.dart
packages/flutter/lib/src/foundation/serialization.dart
+1
-1
text_input.dart
packages/flutter/lib/src/services/text_input.dart
+0
-1
media_query.dart
packages/flutter/lib/src/widgets/media_query.dart
+0
-1
serialization_test.dart
packages/flutter/test/foundation/serialization_test.dart
+0
-2
No files found.
packages/flutter/lib/src/cupertino/text_theme.dart
View file @
0cdb3bf5
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
// found in the LICENSE file.
import
'package:flutter/foundation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/services.dart'
show
Brightness
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
;
import
'colors.dart'
;
import
'colors.dart'
;
...
...
packages/flutter/lib/src/cupertino/theme.dart
View file @
0cdb3bf5
...
@@ -3,14 +3,13 @@
...
@@ -3,14 +3,13 @@
// found in the LICENSE file.
// found in the LICENSE file.
import
'package:flutter/foundation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
;
import
'colors.dart'
;
import
'colors.dart'
;
import
'icon_theme_data.dart'
;
import
'icon_theme_data.dart'
;
import
'text_theme.dart'
;
import
'text_theme.dart'
;
export
'package:flutter/
services
.dart'
show
Brightness
;
export
'package:flutter/
foundation
.dart'
show
Brightness
;
// Values derived from https://developer.apple.com/design/resources/.
// Values derived from https://developer.apple.com/design/resources/.
const
_CupertinoThemeDefaults
_kDefaultTheme
=
_CupertinoThemeDefaults
(
const
_CupertinoThemeDefaults
_kDefaultTheme
=
_CupertinoThemeDefaults
(
...
...
packages/flutter/lib/src/foundation/_isolates_io.dart
View file @
0cdb3bf5
...
@@ -10,6 +10,8 @@ import 'package:meta/meta.dart';
...
@@ -10,6 +10,8 @@ import 'package:meta/meta.dart';
import
'constants.dart'
;
import
'constants.dart'
;
import
'isolates.dart'
as
isolates
;
import
'isolates.dart'
as
isolates
;
export
'isolates.dart'
show
ComputeCallback
;
/// The dart:io implementation of [isolate.compute].
/// The dart:io implementation of [isolate.compute].
Future
<
R
>
compute
<
Q
,
R
>(
isolates
.
ComputeCallback
<
Q
,
R
>
callback
,
Q
message
,
{
String
?
debugLabel
})
async
{
Future
<
R
>
compute
<
Q
,
R
>(
isolates
.
ComputeCallback
<
Q
,
R
>
callback
,
Q
message
,
{
String
?
debugLabel
})
async
{
debugLabel
??=
kReleaseMode
?
'compute'
:
callback
.
toString
();
debugLabel
??=
kReleaseMode
?
'compute'
:
callback
.
toString
();
...
...
packages/flutter/lib/src/foundation/_isolates_web.dart
View file @
0cdb3bf5
...
@@ -4,6 +4,8 @@
...
@@ -4,6 +4,8 @@
import
'isolates.dart'
as
isolates
;
import
'isolates.dart'
as
isolates
;
export
'isolates.dart'
show
ComputeCallback
;
/// The dart:html implementation of [isolate.compute].
/// The dart:html implementation of [isolate.compute].
Future
<
R
>
compute
<
Q
,
R
>(
isolates
.
ComputeCallback
<
Q
,
R
>
callback
,
Q
message
,
{
String
?
debugLabel
})
async
{
Future
<
R
>
compute
<
Q
,
R
>(
isolates
.
ComputeCallback
<
Q
,
R
>
callback
,
Q
message
,
{
String
?
debugLabel
})
async
{
// To avoid blocking the UI immediately for an expensive function call, we
// To avoid blocking the UI immediately for an expensive function call, we
...
...
packages/flutter/lib/src/foundation/assertions.dart
View file @
0cdb3bf5
...
@@ -10,6 +10,10 @@ import 'diagnostics.dart';
...
@@ -10,6 +10,10 @@ import 'diagnostics.dart';
import
'print.dart'
;
import
'print.dart'
;
import
'stack_frame.dart'
;
import
'stack_frame.dart'
;
export
'basic_types.dart'
show
IterableFilter
;
export
'diagnostics.dart'
show
DiagnosticLevel
,
DiagnosticsNode
,
DiagnosticPropertiesBuilder
,
DiagnosticsTreeStyle
;
export
'stack_frame.dart'
show
StackFrame
;
// Examples can assume:
// Examples can assume:
// late String runtimeType;
// late String runtimeType;
// late bool draconisAlive;
// late bool draconisAlive;
...
...
packages/flutter/lib/src/foundation/binding.dart
View file @
0cdb3bf5
...
@@ -14,11 +14,12 @@ import 'assertions.dart';
...
@@ -14,11 +14,12 @@ import 'assertions.dart';
import
'basic_types.dart'
;
import
'basic_types.dart'
;
import
'constants.dart'
;
import
'constants.dart'
;
import
'debug.dart'
;
import
'debug.dart'
;
import
'diagnostics.dart'
;
import
'object.dart'
;
import
'object.dart'
;
import
'platform.dart'
;
import
'platform.dart'
;
import
'print.dart'
;
import
'print.dart'
;
export
'basic_types.dart'
show
AsyncCallback
,
AsyncValueGetter
,
AsyncValueSetter
;
// Examples can assume:
// Examples can assume:
// mixin BarBinding on BindingBase { }
// mixin BarBinding on BindingBase { }
...
...
packages/flutter/lib/src/foundation/change_notifier.dart
View file @
0cdb3bf5
...
@@ -8,6 +8,8 @@ import 'assertions.dart';
...
@@ -8,6 +8,8 @@ import 'assertions.dart';
import
'basic_types.dart'
;
import
'basic_types.dart'
;
import
'diagnostics.dart'
;
import
'diagnostics.dart'
;
export
'dart:ui'
show
VoidCallback
;
/// An object that maintains a list of listeners.
/// An object that maintains a list of listeners.
///
///
/// The listeners are typically used to notify clients that the object has been
/// The listeners are typically used to notify clients that the object has been
...
...
packages/flutter/lib/src/foundation/consolidate_response.dart
View file @
0cdb3bf5
...
@@ -7,6 +7,9 @@ import 'dart:convert';
...
@@ -7,6 +7,9 @@ import 'dart:convert';
import
'dart:io'
;
import
'dart:io'
;
import
'dart:typed_data'
;
import
'dart:typed_data'
;
export
'dart:io'
show
HttpClientResponse
;
export
'dart:typed_data'
show
Uint8List
;
/// Signature for getting notified when chunks of bytes are received while
/// Signature for getting notified when chunks of bytes are received while
/// consolidating the bytes of an [HttpClientResponse] into a [Uint8List].
/// consolidating the bytes of an [HttpClientResponse] into a [Uint8List].
///
///
...
...
packages/flutter/lib/src/foundation/debug.dart
View file @
0cdb3bf5
...
@@ -8,6 +8,10 @@ import 'assertions.dart';
...
@@ -8,6 +8,10 @@ import 'assertions.dart';
import
'platform.dart'
;
import
'platform.dart'
;
import
'print.dart'
;
import
'print.dart'
;
export
'dart:ui'
show
Brightness
;
export
'print.dart'
show
DebugPrintCallback
;
/// Returns true if none of the foundation library debug variables have been
/// Returns true if none of the foundation library debug variables have been
/// changed.
/// changed.
///
///
...
...
packages/flutter/lib/src/foundation/serialization.dart
View file @
0cdb3bf5
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
import
'dart:math'
as
math
;
import
'dart:math'
as
math
;
import
'dart:typed_data'
;
import
'dart:typed_data'
;
export
'dart:typed_data'
show
ByteData
,
Float32List
,
Float64List
,
Int32List
,
Int64List
,
Uint8List
;
export
'dart:typed_data'
show
ByteData
,
Endian
,
Float32List
,
Float64List
,
Int32List
,
Int64List
,
Uint8List
;
/// Write-only buffer for incrementally building a [ByteData] instance.
/// Write-only buffer for incrementally building a [ByteData] instance.
///
///
...
...
packages/flutter/lib/src/services/text_input.dart
View file @
0cdb3bf5
...
@@ -20,7 +20,6 @@ import 'autofill.dart';
...
@@ -20,7 +20,6 @@ import 'autofill.dart';
import
'message_codec.dart'
;
import
'message_codec.dart'
;
import
'platform_channel.dart'
;
import
'platform_channel.dart'
;
import
'system_channels.dart'
;
import
'system_channels.dart'
;
import
'system_chrome.dart'
;
import
'text_editing.dart'
;
import
'text_editing.dart'
;
import
'text_editing_delta.dart'
;
import
'text_editing_delta.dart'
;
...
...
packages/flutter/lib/src/widgets/media_query.dart
View file @
0cdb3bf5
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
import
'dart:math'
as
math
;
import
'dart:math'
as
math
;
import
'dart:ui'
as
ui
;
import
'dart:ui'
as
ui
;
import
'dart:ui'
show
Brightness
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/gestures.dart'
;
...
...
packages/flutter/test/foundation/serialization_test.dart
View file @
0cdb3bf5
...
@@ -2,8 +2,6 @@
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// found in the LICENSE file.
import
'dart:typed_data'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
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