Last updated:
0 purchases
hovering
hovering #
A new Flutter package to enable the hover effect on Flutter web. #
Intallation : #
Add Dependency: #
dependencies:
hovering: ^1.0.4
copied to clipboard
Import Package: #
import"package:hovering/hovering.dart";
copied to clipboard
List of Widgets : #
1. HoverWidget: #
-Simply changes one widget to another on Hover.
-Also uses onHover property.
copied to clipboard
2. HoverContainer #
-Hover effect on a Container Widget
copied to clipboard
3. HoverCrossFadeWidget #
-Gives a Hover effect with a fade animation.
-Transition between two widgets.
copied to clipboard
4. HoverAnimatedContainer #
-Creates a Container widget with an Animation.
-Duration can be provided.
copied to clipboard
5. HoverButton #
-Creates a Button widget with hover effect.
copied to clipboard
Constructors : #
HoverWidget({
Key? key,
required Widget child,
required Widget hoverChild,
required void Function(PointerEnterEvent) onHover
})
copied to clipboard
HoverCrossFadeWidget({
Key? key,
MouseCursor cursor = SystemMouseCursors.basic,
required Widget firstChild,
required Widget secondChild,
required Duration duration,
AlignmentGeometry alignmentry = Alignment.center,
Curve firstCurve = Curves.linear,
Duration? reverseDuration,
Curve secondCurve = Curves.linear,
Curve sizeCurve = Curves.linear})
copied to clipboard
HoverContainer({
Key? key,
AlignmentGeometry? alignment,
AlignmentGeometry? hoveraAlignment,
Color? color,
Color? hoverColor,
double? width,
double? hoverWidth,
double? height,
double? hoverHeight,
Decoration? decoration,
Decoration? hoverDecoration,
Decoration? foregroundDecoration,
Decoration? hoverForegroundDecoration,
Widget? child,
Clip clipBehavior = Clip.none,
BoxConstraints? constraints,
EdgeInsetsGeometry? margin,
EdgeInsetsGeometry? hoverMargin,
EdgeInsetsGeometry? padding,
EdgeInsetsGeometry? hoverPadding,
Matrix4? transform,
MouseCursor cursor = SystemMouseCursors.basic,
Matrix4? hoverTransform})
copied to clipboard
HoverAnimatedContainer({
Key? key,
AlignmentGeometry? alignment,
AlignmentGeometry? hoveraAlignment,
Color? color,
Duration duration = const Duration(milliseconds: 200),
Color? hoverColor,
double? width,
double? hoverWidth,
double? height,
double? hoverHeight,
Decoration? decoration,
Decoration? hoverDecoration,
Decoration? foregroundDecoration,
Decoration? hoverForegroundDecoration,
Widget? child,
BoxConstraints? constraints,
EdgeInsetsGeometry? margin,
EdgeInsetsGeometry? hoverMargin,
EdgeInsetsGeometry? padding,
EdgeInsetsGeometry? hoverPadding,
Matrix4? transform,
Curve curve = Curves.linear,
MouseCursor cursor = SystemMouseCursors.basic,
Matrix4? hoverTransform})
copied to clipboard
HoverButton({
Key? key,
required void Function() onpressed,
Duration? animationDuration,
bool autofocus = false,
Widget? child,
Clip clipBehavior = Clip.none,
Color? color,
Brightness? colorBrightness,
Color? disabledColor,
double? disabledElevation,
Color? disabledTextColor,
double elevation = 4.0,
bool enableFeedback = true,
Color? focusColor,
double? focusElevation,
FocusNode? focusNode,
double? height,
Color? highlightColor,
double? highlightElevation,
Color? hoverColor,
double hoverElevation = 8.0,
MaterialTapTargetSize? materialTapTargetSize,
double? minWidth,
MouseCursor mouseCursor = SystemMouseCursors.click,
void Function(bool)? onHighlightChanged,
void Function()? onLongPress,
EdgeInsetsGeometry? padding,
EdgeInsetsGeometry hoverPadding = const EdgeInsets.all(2.0), ShapeBorder shape = const StadiumBorder(),
Color? splashColor,
Color? textColor,
ButtonTextTheme? textTheme,
VisualDensity? visualDensity,
ShapeBorder? hoverShape,
Color? hoverTextColor,
ButtonTextTheme? hoverTextTheme,
Brightness? hoverColorBrightness})
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.