adguard-home-manager/lib/screens/settings/section_label.dart
Juan Gilsanz Polo 7f97e86829 Minor changes
2022-10-02 19:24:11 +02:00

30 lines
No EOL
647 B
Dart

import 'package:flutter/material.dart';
class SectionLabel extends StatelessWidget {
final String label;
const SectionLabel({
Key? key,
required this.label
}) : super(key: key);
@override
Widget build(BuildContext context) {
return Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.all(25),
child: Text(
label,
style: TextStyle(
fontWeight: FontWeight.w500,
fontSize: 16,
color: Theme.of(context).primaryColor
),
),
),
],
);
}
}