warcraft_flutter_components 0.1.0 copy "warcraft_flutter_components: ^0.1.0" to clipboard
warcraft_flutter_components: ^0.1.0 copied to clipboard

Warcraft-themed Flutter UI components inspired by WarcraftCN.

Warcraft Flutter Components #

pub package Example GitHub Pages license

Warcraft-themed Flutter UI components inspired by the WarcraftCN React UI. Includes ready-to-use widgets, themed assets, and a full example app.

Features #

  • Ready-made Warcraft UI widgets (buttons, cards, tabs, inputs, etc).
  • Faction-themed tabs and visual variants.
  • Custom 9-slice border box rendering for frames and panels.
  • Example app showcasing all components.

Components #

  • WarcraftAccordion
  • WarcraftAvatar
  • WarcraftBadge
  • WarcraftButton
  • WarcraftCard
  • WarcraftCheckbox
  • WarcraftDropdownMenu
  • WarcraftInput
  • WarcraftLabel
  • WarcraftPagination
  • WarcraftRadioGroup / WarcraftRadio
  • WarcraftSkeleton
  • WarcraftSpinner
  • WarcraftTabs
  • WarcraftTextarea
  • WarcraftTooltip

Install #

flutter pub add warcraft_flutter_components

Or add to pubspec.yaml:

dependencies:
  warcraft_flutter_components: ^0.1.0

Usage #

import 'package:warcraft_flutter_components/warcraft_flutter_components.dart';

WarcraftButton(
  variant: WarcraftButtonVariant.frame,
  child: const Text('For the Horde'),
  onPressed: () {},
);

More examples #

WarcraftInput(
  hintText: 'Enter your name...',
  capWidth: 28,
  maxWidth: 520,
);

WarcraftCard(
  child: const Text('Card content'),
);

WarcraftPagination(
  currentPage: 3,
  pageCount: 10,
  onPageChanged: (page) {},
);

Example app #

cd example
flutter run

Hosted example (web): https://allingaming.github.io/warcraft_flutter_components/

Notes #

  • Asset-heavy widgets rely on the bundled assets under assets/warcraft/.
  • The package uses the Cinzel font via google_fonts for the fantasy look.

Tests #

flutter test

License #

MIT (see LICENSE).

4
likes
0
points
80
downloads

Publisher

unverified uploader

Weekly Downloads

Warcraft-themed Flutter UI components inspired by WarcraftCN.

Repository (GitHub)
View/report issues

Topics

#flutter #ui #widget #design-system #warcraft

License

unknown (license)

Dependencies

flutter, flutter_svg, google_fonts

More

Packages that depend on warcraft_flutter_components