mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2025-05-11 21:15:37 +02:00
feat: Add ReVanced API and implement cache on it and on Github API
This commit is contained in:
parent
fe13234faa
commit
595ecb7660
15 changed files with 454 additions and 260 deletions
|
@ -1,11 +1,10 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:github/github.dart';
|
||||
import 'package:revanced_manager/ui/widgets/shared/custom_card.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
|
||||
class ContributorsCard extends StatefulWidget {
|
||||
final String title;
|
||||
final List<Contributor> contributors;
|
||||
final List<dynamic> contributors;
|
||||
final double height;
|
||||
|
||||
const ContributorsCard({
|
||||
|
@ -52,9 +51,9 @@ class _ContributorsCardState extends State<ContributorsCard> {
|
|||
borderRadius: BorderRadius.circular(100),
|
||||
child: GestureDetector(
|
||||
onTap: () => launchUrl(
|
||||
Uri.parse(widget.contributors[index].htmlUrl!)),
|
||||
Uri.parse(widget.contributors[index]['html_url'])),
|
||||
child: Image.network(
|
||||
widget.contributors[index].avatarUrl!,
|
||||
widget.contributors[index]['avatar_url'],
|
||||
height: 40,
|
||||
width: 40,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue