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

PlatformAndroid
outdated

Flutter plugin that provides custom widget to show drawable and mipmap from android.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_drawable_mipmap/image_widget.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text("Flutter Drawable Mipmap"),
        ),
        body: Center(
          child: Padding(
            padding: const EdgeInsets.all(16),
            child: Column(
              children: [
                Container(
                  child: Drawable("android"),
                  width: 200,
                  height: 200,
                ),
                SizedBox(height: 20),
                Container(
                  child: Mipmap("ios"),
                  width: 200,
                  height: 200,
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}
0
likes
140
pub points
57%
popularity

Publisher

verified publishersharmadhiraj.com

Flutter plugin that provides custom widget to show drawable and mipmap from android.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on flutter_drawable_mipmap