GridGallery class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- GridGallery
Constructors
- GridGallery.new({GalleryController? controller, int crossAxisCount = 3, int pageSize = 20, Icon videoIcon = const Icon(Icons.videocam, color: Colors.white), Alignment videoIconAlign = Alignment.bottomRight, bool isCameraSupported = true, Icon cameraIcon = const Icon(Icons.camera_alt_outlined, color: Colors.white, size: 36.0), Color cameraSectionBackgroundColor = Colors.black87, double unselectedCircleSize = 24.0, double unselectedCircleBorderWidth = 2.0, Color unselectedBackgroundColor = Colors.transparent, Color unselectedBorderColor = Colors.white, double selectedCircleSize = 24.0, double selectedCircleBorderWidth = 2.0, dynamic selectedBackgroundColor, Color selectedBorderColor = Colors.white, TextStyle selectedTextStyle = const TextStyle(fontWeight: FontWeight.w700, color: Colors.white), ChangedCallback? onChanged, AddedCallback? onAdded, RemovedCallback? onRemoved})
Properties
- cameraIcon → Icon
-
final
- cameraSectionBackgroundColor → Color
-
final
- controller → GalleryController
-
final
- crossAxisCount → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCameraSupported → bool
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onAdded → AddedCallback?
-
final
- onChanged → ChangedCallback?
-
final
- onRemoved → RemovedCallback?
-
final
- pageSize → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedBackgroundColor → Color
-
final
- selectedBorderColor → Color
-
final
- selectedCircleBorderWidth → double
-
final
- selectedCircleSize → double
-
final
- selectedTextStyle → TextStyle
-
final
- unselectedBackgroundColor → Color
-
final
- unselectedBorderColor → Color
-
final
- unselectedCircleBorderWidth → double
-
final
- unselectedCircleSize → double
-
final
- videoIcon → Icon
-
final
- videoIconAlign → Alignment
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< GridGallery> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited