Skip to content

Commit

Permalink
Update shadows
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkrieger committed Dec 10, 2021
1 parent 349c48c commit e84aee6
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ android {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : file("../keystore.jks")
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
Expand Down
2 changes: 0 additions & 2 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@

<uses-permission android:name="android.permission.VIBRATE" />

<uses-permission android:name="com.android.vending.BILLING" />

<queries>
<!-- If your app opens https URLs -->
<intent>
Expand Down
14 changes: 13 additions & 1 deletion lib/views/outlines_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,20 @@ class _OutlinesViewState extends State<OutlinesView> {
? FloatingActionButton(
tooltip: "Add Outline",
onPressed: _addOutline,
elevation: 0,
backgroundColor: classicPurple,
child: const Icon(Icons.post_add_rounded),
child: Container(
decoration: BoxDecoration(
color: Colors.transparent,
borderRadius: BorderRadius.circular(100),
boxShadow: const [
BoxShadow(
offset: Offset(0, 20),
blurRadius: 20,
spreadRadius: 10,
color: Color.fromRGBO(156, 104, 241, 0.5))
]),
child: const Icon(Icons.post_add_rounded)),
)
: null,
body: AnimatedCrossFade(
Expand Down
8 changes: 4 additions & 4 deletions lib/widgets/record_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ class _RecordButtonState extends State<RecordButton> {
decoration: BoxDecoration(
boxShadow: [
const BoxShadow(
color: Color.fromRGBO(169, 129, 234, 0.8),
blurRadius: 3.0,
spreadRadius: 3.0,
offset: Offset(0, 3)),
color: Color.fromRGBO(156, 103, 241, .36),
blurRadius: 18.0,
spreadRadius: 0.0,
offset: Offset(0, 7)),
if (isRecording)
BoxShadow(
color: computeShadowColor(offset.dy),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.16.0+65
version: 1.16.1+66

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down

0 comments on commit e84aee6

Please sign in to comment.