Flutter_Plugin Set ColorProfile (Android, iOS)

Set Color Profile

Modifying

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add set_color_profile

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  set_color_profile: ^0.0.6

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:set_color_profile/set_color_profile.dart';

example/lib/main.dart

import 'package:flutter/material.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 MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: Text('set_colorprofile'),
        ),
      ),
    );
  }
} 

Download details:

Author: sohay19

Source: https://github.com/sohay19/Set_Color_Profile

#flutter #android #ios 

Flutter_Plugin Set ColorProfile (Android, iOS)
1.00 GEEK