Last updated:
0 purchases
flutter ahlib
flutter_ahlib #
A personal flutter library, contains some useful widgets and utilities.
Please visit https://pub.dev/packages/flutter_ahlib for details. Note that this library only passes tests in Flutter 2.x.
Usage #
// Import the whole library, including common widgets, list widgets, image widgets and utilities.
import 'package:flutter_ahlib/flutter_ahlib.dart';
// Only import the util library.
import 'package:flutter_ahlib/flutter_ahlib_util.dart';
copied to clipboard
Library contents #
Common widgets (lib/src/widget/)
AnimatedFab ScrollAnimatedFab AnimatedFabController
AppBarActionButtonTheme AppBarActionButton
CustomDrawerController CustomDrawerControllerState
CustomInkRipple CustomInkSplash
CustomInkWell CustomInkResponse
CustomPageRoute CustomPageRouteTheme NoPopGestureCupertinoPageTransitionsBuilder
CustomScrollPhysics CustomScrollPhysicsController DefaultCustomScrollPhysics
CustomSingleChildLayoutDelegate
DrawerScaffold DrawerScaffoldState
ExtendedDropdownButton ExtendedDropdownButtonState ViewInsetsData
ExtendedNestedScrollView ExtendedNestedScrollViewState
ExtendedScrollbar
ExtendedTabBarView ExtendedTabBarViewState
IconText
LazyIndexedStack PositionArgument
NestedPageViewNotifier
flatButtonStyle raisedButtonStyle outlineButtonStyle ThemeDataExtension
OverflowClipBox
PlaceholderText PreviouslySwitchedWidget switchLayoutBuilderWithSwitchedFlag
TextDialogOption IconTextDialogOption CircularProgressDialogOption showYesNoAlertDialog
PreloadablePageView PageChangedListener
SliverHeaderDelegate SliverSeparatedListDelegate SliverSeparatedListBuilderDelegate
TableWholeRowInkWell TableCellHelper
TextGroup
TextSelectionConfig TextSelectionWithColorHandle
VideoProgressIndicator
StatelessWidgetWithCallback StatefulWidgetWithCallback
List widgets (lib/src/list/)
AppendIndicator AppendIndicatorState
MultiSelectable MultiSelectableController SelectableItem SelectableCheckboxItem
RefreshableDataView RefreshableDataViewState
PaginationDataView PaginationDataViewState
UpdatableDataView
Image widgets (lib/src/image/)
ExtendedPhotoGallery ExtendedPhotoGalleryState
loadLocalOrNetworkImageBytes loadLocalOrNetworkImageCodec
LocalOrCachedNetworkImage
LocalOrCachedNetworkImageProvider
MultiImageStreamCompleter
ReloadablePhotoView ReloadablePhotoViewState
Utilities (lib/src/util/)
ActionController
BoolExtension IterableExtension ListExtension ObjectExtension FutureExtension
downloadFile
ExtendedLogger PreferredPrinter
filesize filesizeWithoutSpace
Flutter material constants
StateExtension ScrollControllerExtension ScrollMetricsExtension PageControllerExtension ColorExtension TextSpanExtension RenderObjectExtension BuildContextExtension
getMimeFromExtension getExtensionsFromMime getPreferredExtensionFromMime
TaskResult Ok Err TaskResultFutureExtension
Tuple2 ~ Tuple6
Dependencies #
Visit pubspec.yaml for details.
environment:
sdk: ">=2.16.2 <3.0.0"
dependencies:
flutter_cache_manager: ^3.3.0
flutter_staggered_grid_view: ^0.6.1
http: ^0.13.4
logger: ^1.1.0
path: 1.8.0
photo_view: ^0.14.0
dev_dependencies:
flutter_lints: ^1.0.0
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.