-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #772 from LinwoodDev/feature/password-notes
Add password protected notes, closes #771
- Loading branch information
Showing
125 changed files
with
1,301 additions
and
1,171 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,16 @@ | ||
import 'package:dart_leap/dart_leap.dart'; | ||
import 'package:freezed_annotation/freezed_annotation.dart'; | ||
|
||
class ColorJsonConverter extends JsonConverter<SRGBColor, int> { | ||
const ColorJsonConverter(); | ||
|
||
@override | ||
SRGBColor fromJson(int json) { | ||
return SRGBColor(json); | ||
} | ||
|
||
@override | ||
int toJson(SRGBColor object) { | ||
return object.value; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,11 +1,10 @@ | ||
import 'package:dart_leap/dart_leap.dart'; | ||
|
||
class BasicColors { | ||
static const white = 0xFFFFFFFF; | ||
static const light = 0xFFD9D9D9; | ||
static const black = 0xFF000000; | ||
static const dark = 0xFF1A1A1A; | ||
static const red = 0xFFF44336; | ||
static const blue = 0xFF2196F3; | ||
static const transparent = 0x00000000; | ||
static const light = SRGBColor(0xFFD9D9D9); | ||
static const dark = SRGBColor(0xFF1A1A1A); | ||
static const red = SRGBColor(0xFFF44336); | ||
static const blue = SRGBColor(0xFF2196F3); | ||
|
||
const BasicColors._(); | ||
} |
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
Oops, something went wrong.