- 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.
// 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';
- 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
environment:
sdk: ">=2.16.2 <3.0.0"
dependencies:
flutter_cache_manager: ^3.3.0
flutter_staggered_grid_view: ^0.6.2
http: ^0.13.5
logger: ^1.2.2
octo_image: ^1.0.2
path: ^1.8.0
photo_view: ^0.14.0
dev_dependencies:
flutter_lints: ^1.0.0