content: import 'package:flutter/cupertino.dart';
  import 'package:flutter/material.dart';
  
  import '../../../../../shared/general/base/divider.dart';
  import '../../../../../shared/general/themed/cupertino_button.dart';
  import '../../../../../shared/general/transculent_cupertino_navbar_wrapper.dart';
  import '../../../../../utils/styling_helper.dart';
  import '../license_modal/license_entries.dart';
  
  class LicenseModal extends StatelessWidget {
    final ScrollController? scrollController;
  
    const LicenseModal({super.key, this.scrollController});
  
    @override
    Widget build(BuildContext context) {
      return TransculentCupertinoNavBarWrapper(
        title: 'Credits',
        actions: ThemedCupertinoButton(
          padding: const EdgeInsets.all(0),
          text: 'Done',
          onPressed: () => Navigator.of(context).pop(),
        ),
        customBody: Column(
          children: [
            Align(
              child: Transform.translate(
                offset: const Offset(0, -24),
                child: SizedBox(
                  width: 256.0,
                  child:
                      Image.asset(StylingHelper.brightnessAwareOBSLogo(context)),
                ),
              ),
            ),
            const BaseDivider(),
            Padding(
              padding: const EdgeInsets.only(top: 12.0, bottom: 12.0),
              child: Row(
                mainAxisAlignment: MainAxisAlignment.center,
                children: [
                  Container(
                    padding: const EdgeInsets.only(right: 8.0),
                    height: 32.0,
                    child: Image.asset('assets/images/flutter_logo_render.png'),
                  ),
                  const Text('Powered by Flutter'),
                ],
              ),
            ),
            const BaseDivider(),
            Expanded(
              child: LicenseEntries(
                scrollController: this.scrollController,
              ),
            ),
          ],
        ),
      );
    }
  }
  