Created
June 17, 2024 18:53
-
-
Save jonahwilliams/f23327ea79a77670f40d57d70b7e72bb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
diff --git a/lib/ui/screens/editorial/editorial_screen.dart b/lib/ui/screens/editorial/editorial_screen.dart | |
index b250bb55..5bcaeb4b 100644 | |
--- a/lib/ui/screens/editorial/editorial_screen.dart | |
+++ b/lib/ui/screens/editorial/editorial_screen.dart | |
@@ -1,6 +1,6 @@ | |
import 'dart:async'; | |
-import 'package:drop_cap_text/drop_cap_text.dart'; | |
+// import 'package:drop_cap_text/drop_cap_text.dart'; | |
import 'package:flutter/rendering.dart'; | |
import 'package:flutter_circular_text/circular_text.dart'; | |
import 'package:google_maps_flutter/google_maps_flutter.dart'; | |
diff --git a/lib/ui/screens/editorial/widgets/_scrolling_content.dart b/lib/ui/screens/editorial/widgets/_scrolling_content.dart | |
index fea6e796..5017f6c1 100644 | |
--- a/lib/ui/screens/editorial/widgets/_scrolling_content.dart | |
+++ b/lib/ui/screens/editorial/widgets/_scrolling_content.dart | |
@@ -32,30 +32,7 @@ class _ScrollingContent extends StatelessWidget { | |
label: value, | |
child: ExcludeSemantics( | |
child: !skipCaps | |
- ? DropCapText( | |
- _fixNewlines(value).substring(1), | |
- dropCap: DropCap( | |
- width: dropCapWidth, | |
- height: $styles.text.body.fontSize! * $styles.text.body.height! * 2, | |
- child: Transform.translate( | |
- offset: Offset(0, bodyStyle.fontSize! * (bodyStyle.height! - 1) - 2), | |
- child: Text( | |
- dropChar, | |
- overflow: TextOverflow.visible, | |
- style: $styles.text.dropCase.copyWith( | |
- color: $styles.colors.accent1, | |
- height: 1, | |
- ), | |
- ), | |
- ), | |
- ), | |
- style: $styles.text.body, | |
- dropCapPadding: EdgeInsets.only(right: 6), | |
- dropCapStyle: $styles.text.dropCase.copyWith( | |
- color: $styles.colors.accent1, | |
- height: 1, | |
- ), | |
- ) | |
+ ? Text(value, style: bodyStyle) | |
: Text(value, style: bodyStyle), | |
), | |
); | |
diff --git a/pubspec.yaml b/pubspec.yaml | |
index aea7a492..8786a468 100644 | |
--- a/pubspec.yaml | |
+++ b/pubspec.yaml | |
@@ -15,7 +15,7 @@ dependencies: | |
collection: ^1.17.0 | |
desktop_window: ^0.4.0 | |
- drop_cap_text: ^1.1.3 | |
+ # drop_cap_text: ^1.1.3 | |
equatable: ^2.0.5 | |
extra_alignments: ^1.0.0+1 | |
flextras: ^1.0.0 | |
@@ -31,13 +31,13 @@ dependencies: | |
google_maps_flutter: ^2.5.3 | |
google_maps_flutter_web: ^0.5.4+3 | |
go_router: ^13.0.1 | |
- home_widget: ^0.4.1 # use the forked version when on `main` flutter branch | |
-# git: | |
-# url: https://github.com/gskinnerTeam/flutter_home_widget_fork.git | |
+ home_widget: | |
+ git: | |
+ url: https://github.com/gskinnerTeam/flutter_home_widget_fork.git | |
http: ^1.1.0 | |
image: ^4.1.3 | |
image_fade: ^0.6.2 | |
- intl: ^0.18.1 | |
+ intl: any | |
internet_connection_checker: ^1.0.0+1 | |
package_info_plus: ^5.0.0 | |
particle_field: ^1.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment