-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into develop
- Loading branch information
Showing
20 changed files
with
510 additions
and
93 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
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
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
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
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
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,22 @@ | ||
class Stereo3dModes { | ||
static const names = { | ||
'ab2l': 'above below half height left first', | ||
'tb2l': 'above below half height left first', | ||
'ab2r': 'above below half height right first', | ||
'tb2r': 'above below half height right first', | ||
'abl': 'above below left first', | ||
'tbl': 'above below left first', | ||
'abr': 'above below right first', | ||
'tbr': 'above below right first', | ||
'al': 'alternating frames left first', | ||
'ar': 'alternating frames right first', | ||
'sbs2l': 'side by side half width left first', | ||
'sbs2r': 'side by side half width right first', | ||
'sbsl': 'side by side left first', | ||
'sbsr': 'side by side right first', | ||
'irl': 'interleave rows left first', | ||
'irr': 'interleave rows right first', | ||
'icl': 'interleave columns left first', | ||
'icr': 'interleave columns right first', | ||
}; | ||
} |
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
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
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 |
---|---|---|
@@ -1,9 +1,12 @@ | ||
extension ExtraString on String { | ||
static final _sentenceCaseStep1 = RegExp(r'([A-Z][a-z]|\[)'); | ||
static final _sentenceCaseStep2 = RegExp(r'([a-z])([A-Z])'); | ||
static final _sentenceCaseStep2 = RegExp(r'_([a-z])'); | ||
static final _sentenceCaseStep3 = RegExp(r'([a-z])([A-Z])'); | ||
|
||
String toSentenceCase() { | ||
var s = replaceFirstMapped(RegExp('.'), (m) => m.group(0)!.toUpperCase()); | ||
return s.replaceAllMapped(_sentenceCaseStep1, (m) => ' ${m.group(1)}').replaceAllMapped(_sentenceCaseStep2, (m) => '${m.group(1)} ${m.group(2)}').trim(); | ||
s = s.replaceAllMapped(_sentenceCaseStep1, (m) => ' ${m.group(1)}'); | ||
s = s.replaceAllMapped(_sentenceCaseStep2, (m) => m.group(0)!.toUpperCase()).replaceAll('_', ' '); | ||
return s.replaceAllMapped(_sentenceCaseStep3, (m) => '${m.group(1)} ${m.group(2)}').trim(); | ||
} | ||
} |
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
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 |
---|---|---|
|
@@ -9,6 +9,8 @@ mixin AvesEntryBase { | |
|
||
int? get pageId; | ||
|
||
String get mimeType; | ||
|
||
String? get path; | ||
|
||
String? get bestTitle; | ||
|
Oops, something went wrong.