mirrored_repositories/flutter-ui-designs/lib/screens/Download
import 'package:flutter/material.dart';

import 'package:flutter_uis/configs/AppDimensions.dart';
import 'package:flutter_uis/configs/TextStyles.dart';
import 'package:flutter_uis/configs/App.dart';

class DownloadHeading extends StatelessWidget {
  DownloadHeading({
    required this.label,
  });

  final String label;

  @override
  Widget build(BuildContext context) {
    return Container(
      width: double.infinity,
      padding: EdgeInsets.symmetric(
        horizontal: AppDimensions.padding * 2,
      ),
      child: Text(
        App.translate(this.label, context),
        style: TextStyles.heading46,
      ),
    );
  }
}
