ntb_vistech_widgets 1.0.2
ntb_vistech_widgets: ^1.0.2 copied to clipboard
NTB reusable Flutter widgets library
1.0.2 #
Enhancements #
- Added onComplete callback to
NTBSplashPageto allow consumers to handle navigation after the splash screen is complete. - Fixed
NTBLoginLandingPageandNTBLoginEmailPagemaking their primary buttons unreachable at large font settings — content now scrolls, actions stay pinned and clear the Android navigation bar.
1.0.0 #
Enhancements #
- First production-ready stable release.
- Added optional
alignmenttoContextExtensiontoast helpers (showSuccessSnackBarandshowErrorSnackBar) 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,NTBLoginLandingPageandNTBLoginEmailPagefor a complete login flow with email and redirect to Auth0 for authentication. - Added
NTBToastcomponent for displaying temporary messages to users.
0.1.1-dev.19 #
Enhancements #
- Added
applyBottomSafeAreaflag toNTBBottomSheet(defaulttrue) to clear the Android navigation bar inset and prevent content overlap.
0.1.1-dev.17 #
Enhancements #
- Added
NTBBottomMenuandNTBBottomMenuItemfor consistent bottom menu style.
0.1.1-dev.14 #
Enhancements #
- Created
NTBRadioButtoncomponent with support forlabel,value,groupValue, andonChangedproperties.
0.1.1-dev.13 #
Enhancements #
- Added
NTBAppBarbackground color control for better customization options. - Adder version number to
NTBSettingsPageWidget
0.1.1-dev.11 #
Enhancements #
- Added
NTBBottomSheetcomponent with optional title, draggable indicator and close button. - Update
NTBDatePickerto useNTBBottomSheetfor consistency and also the UI. - Fixed
NTBButtonoutline variant background color.
0.1.1-dev.10 #
Enhancements #
- Added padding control to
NTB Settings Screenfor better spacing adjustments.
0.1.1-dev.9 #
Enhancements #
- Added
NTBDatePickercomponent with support for date selection and customization options. - Added padding control to
NTBBadgefor 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.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.3 #
Context extension #
- Exported
global/extensions/context_extension.dartfrom the package barrel (ntb_vistech_widgets.dart) so consumers can useContextExtensiononBuildContextwithout 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
NTBDividercomponent with support forthickness,height,color, andpaddingproperties.
NTBAppBar #
- Fixed
secondaryvariant background to be fully transparent. - Fixed back icon and title color to use
base/foregroundtoken, supporting dark mode automatically. - Fixed back icon alignment to be flush to the left edge.
- Added
withLogoboolean flag tosecondaryvariant to conditionally render a logo instead of a title. - Applied
h4typography token (20px,600weight) to the title text.
NTBButton #
- Removed
disabledfromNTBButtonVariantenum. - Added
isDisabledboolean property to handle disabled state independently from the variant.
NTBInput #
- Wrapped
leadingandtrailingwidgets inDefaultTextStyle.mergeandIconTheme.mergeinside the component so dark mode colors are applied automatically without requiring consumers to pass aTextStyle.
NTBMultiDropdown #
- Replaced native Flutter
Dividerwith the newNTBDividercomponent in the dropdown options list.
Widgetbook #
- Added
DeviceFrameAddonwith iPhone 14 Pro, iPhone 13 Pro Max, and Samsung Galaxy S20 device frames. - Added use cases for
NTBDivider. - Updated
NTBAppBaruse cases with logo/title toggle knob and dynamic action icon knob withnoneoption.
0.1.1-dev.1 #
- Initial pre-release of NTB Vistech Widgets.
- Added NtbButton and NtbSpinner components.
0.1.0 #
- Initial release.