Set Color Profile
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.
Now in your Dart code, you can use:
import 'package:set_color_profile/set_color_profile.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