-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This is doing what users want in the new tall style. \o/ Close #624.
- Loading branch information
1 parent
1198bf7
commit e12c007
Showing
1 changed file
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
>>> | ||
var x = [ | ||
"long value that won't fit everywhere", | ||
"long value that won't fit everywhere", | ||
"long value that won't fit everywhere" | ||
]; | ||
|
||
get y => [ | ||
"long value that won't fit everywhere", | ||
"long value that won't fit everywhere", | ||
"long value that won't fit everywhere" | ||
]; | ||
<<< | ||
var x = [ | ||
"long value that won't fit everywhere", | ||
"long value that won't fit everywhere", | ||
"long value that won't fit everywhere", | ||
]; | ||
|
||
get y => [ | ||
"long value that won't fit everywhere", | ||
"long value that won't fit everywhere", | ||
"long value that won't fit everywhere", | ||
]; | ||
>>> | ||
class C { | ||
@override | ||
List<Source> get outputs => const <Source>[ | ||
Source.pattern('{OUTPUT_DIR}/vm_snapshot_data'), | ||
Source.pattern('{OUTPUT_DIR}/isolate_snapshot_data'), | ||
Source.pattern('{OUTPUT_DIR}/kernel_blob.bin'), | ||
]; | ||
|
||
@override | ||
List<String> get depfiles => <String>[ | ||
'flutter_assets.d', // Force split. | ||
]; | ||
} | ||
<<< | ||
class C { | ||
@override | ||
List<Source> get outputs => const <Source>[ | ||
Source.pattern('{OUTPUT_DIR}/vm_snapshot_data'), | ||
Source.pattern('{OUTPUT_DIR}/isolate_snapshot_data'), | ||
Source.pattern('{OUTPUT_DIR}/kernel_blob.bin'), | ||
]; | ||
|
||
@override | ||
List<String> get depfiles => <String>[ | ||
'flutter_assets.d', // Force split. | ||
]; | ||
} |