Skip to content

Commit

Permalink
Renamed prefix to TUI
Browse files Browse the repository at this point in the history
Updated the fluent icon library
  • Loading branch information
rajivmanivannan committed May 24, 2023
1 parent a37fec3 commit 1dd44ad
Show file tree
Hide file tree
Showing 12 changed files with 335 additions and 335 deletions.
94 changes: 47 additions & 47 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,86 +33,86 @@ class _HomePageState extends State<HomePage> {
body: ListView(
padding: const EdgeInsets.symmetric(horizontal: 25, vertical: 30),
children: [
TKAvatar(
avatarSize: TKAvatarSize.xxl,
avatarContent: TKAvatarContent(
TUIAvatar(
avatarSize: TUIAvatarSize.xxl,
avatarContent: TUIAvatarContent(
text: "IH",
type: TKAvatarContentType.text,
type: TUIAvatarContentType.text,
),
),
TKAvatar(
avatarSize: TKAvatarSize.xl,
avatarContent: TKAvatarContent(
TUIAvatar(
avatarSize: TUIAvatarSize.xl,
avatarContent: TUIAvatarContent(
text: "IH",
type: TKAvatarContentType.text,
type: TUIAvatarContentType.text,
),
),
TKAvatar(
avatarSize: TKAvatarSize.m,
avatarContent: TKAvatarContent(
type: TKAvatarContentType.icon,
icon: Icon(Icons.construction),
TUIAvatar(
avatarSize: TUIAvatarSize.m,
avatarContent: TUIAvatarContent(
type: TUIAvatarContentType.icon,
icon: const Icon(Icons.construction),
),
isBadged: true,
),
TKAvatar(
avatarSize: TKAvatarSize.xxl,
avatarContent: TKAvatarContent(
type: TKAvatarContentType.image,
image: const TKImage(
TUIAvatar(
avatarSize: TUIAvatarSize.xxl,
avatarContent: TUIAvatarContent(
type: TUIAvatarContentType.image,
image: const TUIImage(
imageUrl:
"https://avatars.githubusercontent.com/u/16992520?v=4",
),
),
isBadged: true,
),
const Text("Heading1", style: TKTextStyle.heading1),
const Text("Heading2", style: TKTextStyle.heading2),
const Text("Heading3", style: TKTextStyle.heading3),
const Text("Heading4", style: TKTextStyle.heading4),
const Text("Heading5", style: TKTextStyle.heading5),
const Text("Heading6", style: TKTextStyle.heading6),
const Text("Heading7", style: TKTextStyle.heading7),
const Text("Body5", style: TKTextStyle.body5),
const Text("Body6", style: TKTextStyle.body6),
const Text("Body7", style: TKTextStyle.body7),
const Text("Body8", style: TKTextStyle.body8),
const Text("Button6", style: TKTextStyle.button6),
const Text("Button7", style: TKTextStyle.button7),
const Text("Button8", style: TKTextStyle.button8),
const Text("Heading1", style: TUITextStyle.heading1),
const Text("Heading2", style: TUITextStyle.heading2),
const Text("Heading3", style: TUITextStyle.heading3),
const Text("Heading4", style: TUITextStyle.heading4),
const Text("Heading5", style: TUITextStyle.heading5),
const Text("Heading6", style: TUITextStyle.heading6),
const Text("Heading7", style: TUITextStyle.heading7),
const Text("Body5", style: TUITextStyle.body5),
const Text("Body6", style: TUITextStyle.body6),
const Text("Body7", style: TUITextStyle.body7),
const Text("Body8", style: TUITextStyle.body8),
const Text("Button6", style: TUITextStyle.button6),
const Text("Button7", style: TUITextStyle.button7),
const Text("Button8", style: TUITextStyle.button8),
const SizedBox(height: 8),
TKButton(
TUIButton(
label: "Primary Button",
type: TKButtonType.primary,
size: TKButtonSize.xs,
type: TUIButtonType.primary,
size: TUIButtonSize.xs,
onPressed: () {},
),
TKButton(
TUIButton(
label: "Secondary Button",
icon: Symbol.chevronDown.value,
type: TKButtonType.secondary,
size: TKButtonSize.s,
iconAlignment: TKButtonIconAlignment.right,
type: TUIButtonType.secondary,
size: TUIButtonSize.s,
iconAlignment: TUIButtonIconAlignment.right,
onPressed: () {},
),
TKButton(
TUIButton(
label: "Outlined Button",
icon: Symbol.chevronDown.value,
type: TKButtonType.outlined,
size: TKButtonSize.m,
type: TUIButtonType.outlined,
size: TUIButtonSize.m,
onPressed: () {},
),
TKButton(
TUIButton(
label: "Ghost Button",
icon: Symbol.chevronDown.value,
type: TKButtonType.ghost,
type: TUIButtonType.ghost,
onPressed: () {},
),
TKButton(
TUIButton(
label: "Danger Button",
icon: Symbol.chevronDown.value,
type: TKButtonType.danger,
size: TKButtonSize.l,
type: TUIButtonType.danger,
size: TUIButtonSize.l,
onPressed: () {},
)
]));
Expand Down
38 changes: 19 additions & 19 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ packages:
dependency: transitive
description:
name: async
sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
url: "https://pub.dev"
source: hosted
version: "2.10.0"
version: "2.11.0"
boolean_selector:
dependency: transitive
description:
Expand All @@ -21,10 +21,10 @@ packages:
dependency: transitive
description:
name: characters
sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
url: "https://pub.dev"
source: hosted
version: "1.2.1"
version: "1.3.0"
clock:
dependency: transitive
description:
Expand All @@ -37,10 +37,10 @@ packages:
dependency: transitive
description:
name: collection
sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0
sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
url: "https://pub.dev"
source: hosted
version: "1.17.0"
version: "1.17.1"
cupertino_icons:
dependency: "direct main"
description:
Expand All @@ -61,10 +61,10 @@ packages:
dependency: "direct main"
description:
name: fluentui_system_icons
sha256: ae3685648c572fa8011cec8d59a36278fa500d29f7164d4e769551d48b3ce8af
sha256: "745d58831bba404532bebce20286fb1920c650a4cc74678990251a16fb4d2600"
url: "https://pub.dev"
source: hosted
version: "1.1.200"
version: "1.1.201"
flutter:
dependency: "direct main"
description: flutter
Expand All @@ -87,10 +87,10 @@ packages:
dependency: transitive
description:
name: js
sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7"
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
url: "https://pub.dev"
source: hosted
version: "0.6.5"
version: "0.6.7"
lints:
dependency: transitive
description:
Expand All @@ -103,10 +103,10 @@ packages:
dependency: transitive
description:
name: matcher
sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72"
sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb"
url: "https://pub.dev"
source: hosted
version: "0.12.13"
version: "0.12.15"
material_color_utilities:
dependency: transitive
description:
Expand All @@ -119,18 +119,18 @@ packages:
dependency: transitive
description:
name: meta
sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42"
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
url: "https://pub.dev"
source: hosted
version: "1.8.0"
version: "1.9.1"
path:
dependency: transitive
description:
name: path
sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
url: "https://pub.dev"
source: hosted
version: "1.8.2"
version: "1.8.3"
sky_engine:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -187,10 +187,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb
url: "https://pub.dev"
source: hosted
version: "0.4.16"
version: "0.5.1"
vector_math:
dependency: transitive
description:
Expand All @@ -200,5 +200,5 @@ packages:
source: hosted
version: "2.1.4"
sdks:
dart: ">=2.19.6 <3.0.0"
dart: ">=3.0.0-0 <4.0.0"
flutter: ">=1.17.0"
Loading

0 comments on commit 1dd44ad

Please sign in to comment.