mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
63 lines
1.8 KiB
Dart
63 lines
1.8 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:google_fonts/google_fonts.dart';
|
|
import 'package:revanced_manager_flutter/constants.dart';
|
|
import 'package:revanced_manager_flutter/ui/widgets/patch_text_button.dart';
|
|
|
|
class LatestCommitWidget extends StatelessWidget {
|
|
const LatestCommitWidget({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
decoration: BoxDecoration(
|
|
borderRadius: BorderRadius.circular(12),
|
|
color: const Color(0xff1B222B),
|
|
),
|
|
padding: const EdgeInsets.symmetric(vertical: 18, horizontal: 20),
|
|
child: Row(
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
children: [
|
|
Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
Row(
|
|
children: [
|
|
Text(
|
|
"Patcher: ",
|
|
style: GoogleFonts.roboto(
|
|
fontWeight: FontWeight.w700,
|
|
),
|
|
),
|
|
Text(
|
|
"20 hours ago",
|
|
style: robotoTextStyle,
|
|
)
|
|
],
|
|
),
|
|
Row(
|
|
children: [
|
|
Text(
|
|
"Manager: ",
|
|
style: GoogleFonts.roboto(
|
|
fontWeight: FontWeight.w700,
|
|
),
|
|
),
|
|
Text(
|
|
"3 days ago",
|
|
style: robotoTextStyle,
|
|
)
|
|
],
|
|
),
|
|
],
|
|
),
|
|
PatchTextButton(
|
|
text: "Update Manager",
|
|
onPressed: () {},
|
|
backgroundColor: const Color(0xff7792BA),
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|