feat: overall UI rework in Settings View (#53)

This commit is contained in:
Alberto Ponces
2022-09-02 14:35:25 +01:00
committed by GitHub
parent 036e8c99b3
commit 4f7b1d4520
37 changed files with 485 additions and 361 deletions

View File

@@ -1,16 +1,15 @@
import 'package:flutter/material.dart';
import 'package:flutter_i18n/widgets/I18nText.dart';
import 'package:revanced_manager/theme.dart';
class CustomMaterialButton extends StatelessWidget {
final String text;
final Widget label;
final bool isFilled;
final bool isExpanded;
final Function()? onPressed;
const CustomMaterialButton({
Key? key,
required this.text,
required this.label,
this.isFilled = true,
this.isExpanded = false,
required this.onPressed,
@@ -62,7 +61,7 @@ class CustomMaterialButton extends StatelessWidget {
),
),
onPressed: onPressed,
child: I18nText(text),
child: label,
);
}
}