ntb_vistech_widgets 1.0.2 copy "ntb_vistech_widgets: ^1.0.2" to clipboard
ntb_vistech_widgets: ^1.0.2 copied to clipboard

NTB reusable Flutter widgets library

1.0.2 #

Enhancements #

  • Added onComplete callback to NTBSplashPage to allow consumers to handle navigation after the splash screen is complete.
  • Fixed NTBLoginLandingPage and NTBLoginEmailPage making their primary buttons unreachable at large font settings — content now scrolls, actions stay pinned and clear the Android navigation bar.

1.0.1 #

Enhancements #

  • Fix status bar icons on light mode.
  • Improved README.

1.0.0 #

Enhancements #

  • First production-ready stable release.
  • Added optional alignment to ContextExtension toast helpers (showSuccessSnackBar and showErrorSnackBar) so consuming apps can control toast position.

0.1.1-dev.21 #

Enhancements #

  • PATCH: Fixed bottom padding for android of version number on NTBSettingsPageWidget.

0.1.1-dev.20 #

Enhancements #

  • Added NTBSplashPage, NTBLoginLandingPage and NTBLoginEmailPage for a complete login flow with email and redirect to Auth0 for authentication.
  • Added NTBToast component for displaying temporary messages to users.

0.1.1-dev.19 #

Enhancements #

  • Added applyBottomSafeArea flag to NTBBottomSheet (default true) to clear the Android navigation bar inset and prevent content overlap.

0.1.1-dev.18 #

Enhancements #

  • Changed NTBBottomMenu height for iOS.

0.1.1-dev.17 #

Enhancements #

  • Added NTBBottomMenu and NTBBottomMenuItem for consistent bottom menu style.

0.1.1-dev.16 #

Enhancements #

  • Export NTBSpinner.

0.1.1-dev.15 #

Enhancements #

  • Fixed NTBRadioButton accessibility issues.

0.1.1-dev.14 #

Enhancements #

  • Created NTBRadioButton component with support for label, value, groupValue, and onChanged properties.

0.1.1-dev.13 #

Enhancements #

  • Added NTBAppBar background color control for better customization options.
  • Adder version number to NTBSettingsPageWidget

0.1.1-dev.12 #

Enhancements #

  • Added NTBDivider padding control for better spacing adjustments.

0.1.1-dev.11 #

Enhancements #

  • Added NTBBottomSheet component with optional title, draggable indicator and close button.
  • Update NTBDatePicker to use NTBBottomSheet for consistency and also the UI.
  • Fixed NTBButton outline variant background color.

0.1.1-dev.10 #

Enhancements #

  • Added padding control to NTB Settings Screen for better spacing adjustments.

0.1.1-dev.9 #

Enhancements #

  • Added NTBDatePicker component with support for date selection and customization options.
  • Added padding control to NTBBadge for better spacing adjustments.

0.1.1-dev.8 #

Enhancements #

  • Fixed userRole when no org and fixed transparent background on settings page

0.1.1-dev.7 #

Enhancements #

  • Added logo height control in NTBAppBar

0.1.1-dev.6 #

Enhancements #

  • Added setting screen in global/screens/ntb_settings_page.dart.
  • Migrated custom label components and form input text variants to modern Dart super parameters.

0.1.1-dev.5 #

Enhancements #

  • isShadDark variable added in global/extensions/context_extension.dart.

0.1.1-dev.4 #

Enhancements #

  • Dynamic border in NTBButton and dynamic padding for NTBAppBar.

0.1.1-dev.3 #

Context extension #

  • Exported global/extensions/context_extension.dart from the package barrel (ntb_vistech_widgets.dart) so consumers can use ContextExtension on BuildContext without deep imports.
  • Provides Shadcn theme accessors (shadThemeData, shadColorScheme, shadTextTheme), device dimensions, safe bottom padding, navigation helpers (push, pushReplacement), and snack bars (showSuccessSnackBar, showErrorSnackBar).

0.1.1-dev.2 #

New Components #

  • Added NTBDivider component with support for thickness, height, color, and padding properties.

NTBAppBar #

  • Fixed secondary variant background to be fully transparent.
  • Fixed back icon and title color to use base/foreground token, supporting dark mode automatically.
  • Fixed back icon alignment to be flush to the left edge.
  • Added withLogo boolean flag to secondary variant to conditionally render a logo instead of a title.
  • Applied h4 typography token (20px, 600 weight) to the title text.

NTBButton #

  • Removed disabled from NTBButtonVariant enum.
  • Added isDisabled boolean property to handle disabled state independently from the variant.

NTBInput #

  • Wrapped leading and trailing widgets in DefaultTextStyle.merge and IconTheme.merge inside the component so dark mode colors are applied automatically without requiring consumers to pass a TextStyle.

NTBMultiDropdown #

  • Replaced native Flutter Divider with the new NTBDivider component in the dropdown options list.

Widgetbook #

  • Added DeviceFrameAddon with iPhone 14 Pro, iPhone 13 Pro Max, and Samsung Galaxy S20 device frames.
  • Added use cases for NTBDivider.
  • Updated NTBAppBar use cases with logo/title toggle knob and dynamic action icon knob with none option.

0.1.1-dev.1 #

  • Initial pre-release of NTB Vistech Widgets.
  • Added NtbButton and NtbSpinner components.

0.1.0 #

  • Initial release.
2
likes
120
points
724
downloads

Documentation

API reference

Publisher

verified publishermediebank.dev

Weekly Downloads

NTB reusable Flutter widgets library

Repository
View/report issues

License

BSD-3-Clause (license)

Dependencies

collection, flutter, flutter_svg, intl, lottie, remixicon, shadcn_ui

More

Packages that depend on ntb_vistech_widgets