odoo_image_show 1.0.0 copy "odoo_image_show: ^1.0.0" to clipboard
odoo_image_show: ^1.0.0 copied to clipboard

A Flutter package to display profile images from the Odoo API with progress indication, error handling, and customization.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:odoo_image_show/odoo_image_show.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Oddo Image Show Demo',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: const ProfilePage(),
    );
  }
}

class ProfilePage extends StatelessWidget {
  const ProfilePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text("Profile Image Example"),
        centerTitle: true,
      ),
      body: Center(
        child: ProfileImageShowWidget(
          imageUrl: "image_url",
          sessionId: "sessionId",
          accessToken: "accessToken",
          //iconColor: Colors.red,
          // borderColor: Colors.green,
          // size: 80,
        ),
      ),
    );
  }
}
1
likes
160
points
130
downloads

Publisher

verified publisherrahulreza.com

Weekly Downloads

A Flutter package to display profile images from the Odoo API with progress indication, error handling, and customization.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, intl, path_provider

More

Packages that depend on odoo_image_show