Changed formatting of link displayment
This commit is contained in:
@@ -84,18 +84,21 @@ class LicenseDetailView extends StatelessWidget {
|
||||
GestureDetector(
|
||||
onTap: () async {
|
||||
final uri = Uri.parse(package.homepage!);
|
||||
if (await canLaunchUrl(uri)) {
|
||||
launchUrl(uri);
|
||||
}
|
||||
await launchUrl(uri, mode: LaunchMode.platformDefault);
|
||||
},
|
||||
child: Text(
|
||||
package.homepage!,
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
fontSize: 12,
|
||||
color: CustomTheme.secondaryColor,
|
||||
decoration: TextDecoration.underline,
|
||||
decorationColor: CustomTheme.secondaryColor,
|
||||
child: SizedBox(
|
||||
width: 300,
|
||||
child: Text(
|
||||
package.homepage!,
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
fontSize: 12,
|
||||
color: CustomTheme.secondaryColor,
|
||||
decoration: TextDecoration.underline,
|
||||
decorationColor: CustomTheme.secondaryColor,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: game_tracker
|
||||
description: "Game Tracking App for Card Games"
|
||||
publish_to: 'none'
|
||||
version: 0.0.5+138
|
||||
version: 0.0.5+143
|
||||
|
||||
environment:
|
||||
sdk: ^3.8.1
|
||||
|
||||
Reference in New Issue
Block a user