Apron Illustrations

pub package

Unofficial Flutter package for Apron Illustrations. Apron Illustrations is made by Cookpad and licensed under CC BY 4.0.

Installation

Add apron_illustrations dependency to your Flutter project:

dependencies:
  apron_illustrations: ^<latest-version>

Usage

Static Illustrations

Static illustrations are PNG files, so we can only specify the dimension:

import 'package:apron_illustrations/apron_illustrations.dart';

ApronStaticIllustration(
  data: ApronStaticIllustrationData.ingredientFish,
  height: 200, // Optional
  width: 200, // Optional
)

Dynamic Illustrations

Dynamic illustrations are SVG files, so we can specify dimension & custom colors:

import 'package:apron_illustrations/apron_illustrations.dart';

ApronFemalePerson(
  faceType: ApronFemaleFaceType.b,
  faceExpression: ApronFemaleFaceExpression.facedown,
  bodyType: ApronFemaleBodyType.yellow,
  bodyPose: ApronFemaleBodyPose.cookingA,
  // neckColorMapper: _customColorMapper, // Optional
  // faceColorMapper: _customColorMapper, // Optional
  // bodyColorMapper: _customColorMapper, // Optional
  // Also optional: Specify one of width / height (cannot used both at the same time)
)

Available Dynamic Illustrations

Type Class
Male ApronMalePerson
Female ApronFemalePerson
Boy ApronBoyPerson
Bakery ApronBakeryPerson
Dairy Farmer ApronDairyFarmerPerson
Farmer ApronFarmerPerson
Fish Store ApronFishStorePerson
Situations ApronSituationThinkingTrain, ApronSituationDeliveryHomeEntrance, ApronSituationPickupFront, ApronSituationPickupSide

Most of dynamic illustrations are of people doing cooking-related works (face + neck + body). You can use built-in classes, like ApronMalePerson. Or you can also "compose" the people yourself by using classes like ApronMaleFace, ApronMaleNeck, ApronMaleBody, etc.

Issues

For issues, file directly in the repository.

Illustrations

All Apron illustrations can be viewed on its Figma file here.

Find this library useful? ❤️

Support it by joining stargazers for this repository. ⭐️
Also, follow me on GitHub for my next project! 🐱

License

Copyright 2026 hanmajid (Muhammad Farhan Majid)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.