Skip to content

Commit

Permalink
🚀 For Release
Browse files Browse the repository at this point in the history
  • Loading branch information
sugitlab committed Apr 15, 2023
1 parent 6e6ef58 commit 733ad23
Show file tree
Hide file tree
Showing 7 changed files with 374,184 additions and 16,570 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## 0.0.1

* TODO: Describe initial release.
- First Release: FluentUiEmojiIcon Widget with 1544 emoji options.
31 changes: 25 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,30 @@
# fluentui_emoji_icon
# fluentui_emoji_icon package

Flutter Icon Widget Package using FluentUI Emoji from Microsoft.
This package is a Flutter widget that allows you to use [FluentUi Emoji](https://github.com/microsoft/fluentui-emoji) developed by Microsoft as SVG image display widgets. Originally, it was designed for emojis, but this package provides widgets that display SVG images, which are the source material for emojis.

![](assets/example_app_screen_shot.png)

## Usage

1. Generate fluentui emoji icon svg data class by the following command
```sh
dart run lib/tool/get_fluentui_emoji_svgs_from_official_repository.dart
1. import package
```dart
import 'package:fluentui_emoji_icon/fluentui_emoji_icon.dart';
```
2. Setup `FluentUiEmojiIcon` Widget
```dart
FluentUiEmojiIcon(
fl: Fluents.flAirplane,
w: 50,
h: 50,
)
```
2. Release package!!
3. All done.

## Supported FluentUiEmojis

Microsoft provides 1545 emojis.
This package provides 1544 emoji icons.

## FluentUiEmojiIcon Web Search Tool

please wait...
Binary file added assets/example_app_screen_shot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
102 changes: 97 additions & 5 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,103 @@ class MyHomePage extends StatelessWidget {
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: const <Widget>[
FluentUiEmojiIcon(
fl: Fluents.fl1stPlaceMedal,
),
FluentUiEmojiIcon(fl: Fluents.flAirplane, w: 50, h: 50),
children: <Widget>[
Row(mainAxisAlignment: MainAxisAlignment.center, children: const [
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flGrinningFace,
),
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flGrinningSquintingFace,
),
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flSmilingFaceWithHearts,
),
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flSmilingFaceWithHearts,
),
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flSmilingFaceWithHalo,
),
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flSmilingFaceWithSunglasses,
),
]),
Row(mainAxisAlignment: MainAxisAlignment.center, children: const [
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flWavingHand,
),
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flHandWithFingersSplayed,
),
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flRaisedHand,
),
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flVulcanSalute,
),
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flOkHand,
),
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flThumbsUp,
),
]),
Row(mainAxisAlignment: MainAxisAlignment.center, children: const [
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flMonkeyFace,
),
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flTigerFace,
),
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flHorseFace,
),
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flPigFace,
),
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flDogFace,
),
FluentUiEmojiIcon(
w: 100,
h: 100,
fl: Fluents.flCatFace,
),
]),
],
),
),
Expand Down
Loading

0 comments on commit 733ad23

Please sign in to comment.