skycap_audio_manager 1.0.2 copy "skycap_audio_manager: ^1.0.2" to clipboard
skycap_audio_manager: ^1.0.2 copied to clipboard

A simple and customizable Flutter audio player package.

example/lib/main.dart

import 'package:example_example/home_page.dart';
import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:get/get.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return GetMaterialApp(
      theme: ThemeData.light(useMaterial3: true).copyWith(
          primaryColor: Colors.green,
        textTheme: TextTheme(
          headlineSmall: TextStyle(
            fontSize: 18,
            fontWeight: FontWeight.w600
          )
        )
      ),
      darkTheme: ThemeData.dark(useMaterial3: true).copyWith(
        primaryColor: Colors.white70,
          textTheme: TextTheme(
              headlineSmall: TextStyle(
                  fontSize: 18,
                  fontWeight: FontWeight.w600
              )
          )
      ),
      themeMode: ThemeMode.system,
      home: HomePage(),
      localizationsDelegates: [
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate,
        GlobalCupertinoLocalizations.delegate,
      ],
      supportedLocales: [
        const Locale('en', 'US'), // English
        const Locale('he', 'IL'), // Hebrew
        const Locale('de', 'AT'), // Hebrew
        const Locale('hi', 'HI'), // Hebrew
        // ... other locales the app supports
      ],
    );
  }
}
5
likes
0
points
5
downloads

Publisher

unverified uploader

Weekly Downloads

A simple and customizable Flutter audio player package.

Repository

License

unknown (license)

Dependencies

audio_session, chewie, flutter, flutter_localizations, get, intl, just_audio, path_provider, record, video_player

More

Packages that depend on skycap_audio_manager