open_ia 1.0.0+3 open_ia: ^1.0.0+3 copied to clipboard
Using Open IA to create images
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add open_ia
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
open_ia: ^1.0.0+3
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:open_ia/image_generate/constants/constants_urls.dart';
import 'package:open_ia/image_generate/data/data_sources/ig_data_source.dart';
import 'package:open_ia/image_generate/data/models/api_request_model.dart';
import 'package:open_ia/image_generate/data/models/api_response_model.dart';
import 'package:open_ia/image_generate/domain/repositories/ig_repository.dart';
import 'package:open_ia/image_generate/helpers/secure_print.dart';