Skip to main content

flutter_drawable_mipmap 2.0.0 copy "flutter_drawable_mipmap: ^2.0.0" to clipboard
flutter_drawable_mipmap: ^2.0.0 copied to clipboard

Show native images in Flutter. Android drawables and mipmaps, iOS asset catalog images, system icons (SF Symbols) and the app icon.

example/lib/main.dart

import 'package:material_ui/material_ui.dart';

import 'home_page.dart';

void main() => runApp(const ExampleApp());

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

  @override
  State<ExampleApp> createState() => _ExampleAppState();
}

class _ExampleAppState extends State<ExampleApp> {
  ThemeMode _themeMode = ThemeMode.light;

  void _toggleTheme() {
    setState(() {
      _themeMode = _themeMode == ThemeMode.light
          ? ThemeMode.dark
          : ThemeMode.light;
    });
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: "Flutter Drawable Mipmap",
      debugShowCheckedModeBanner: false,
      theme: ThemeData(colorSchemeSeed: Colors.deepPurple),
      darkTheme: ThemeData(
        colorSchemeSeed: Colors.deepPurple,
        brightness: Brightness.dark,
      ),
      themeMode: _themeMode,
      home: HomePage(
        isDark: _themeMode == ThemeMode.dark,
        onToggleTheme: _toggleTheme,
      ),
    );
  }
}
1
likes
160
points
110
downloads
screenshot

Documentation

API reference

Publisher

verified publishersharmadhiraj.com

Weekly Downloads

Show native images in Flutter. Android drawables and mipmaps, iOS asset catalog images, system icons (SF Symbols) and the app icon.

Repository (GitHub)
View/report issues

Topics

#image #drawable #icon #sf-symbols #native

License

Apache-2.0 (license)

Dependencies

flutter, material_ui

More

Packages that depend on flutter_drawable_mipmap

Packages that implement flutter_drawable_mipmap