MainGridComponentOptions class
MainGridComponentOptions - Configuration options for the MainGridComponent.
Properties:
backgroundColor(Color): Background color of the main grid container.children(List<Widget>): List of child widgets to be displayed inside the grid.mainSize(double): Main component size within the grid as a percentage (0-100).height(double): Height of the grid container.width(double): Width of the grid container.showAspect(bool): Iftrue, displays the grid with aspect ratio; default istrue.timeBackgroundColor(Color): Background color of the meeting progress timer.showTimer(bool): Iftrue, displays the meeting progress timer; default istrue.meetingProgressTime(String): Time to display on the meeting progress timer.
Example Usage:
MainGridComponentOptions(
backgroundColor: Colors.blue,
children: [
// List of child widgets
],
mainSize: 200,
height: 300,
width: 500,
showAspect: true,
timeBackgroundColor: Colors.white,
showTimer: true,
meetingProgressTime: '10:00',
);
Constructors
-
MainGridComponentOptions({required Color backgroundColor, required List<
Widget> children, required double mainSize, required double height, required double width, bool showAspect = true, Color timeBackgroundColor = Colors.transparent, bool showTimer = true, required String meetingProgressTime}) -
Constructs a MainGridComponentOptions object.
const
Properties
- backgroundColor → Color
-
The background color of the main grid container.
final
-
children
→ List<
Widget> -
The list of child widgets to be displayed inside the main grid.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
The height of the main grid container.
final
- mainSize → double
-
The main size percentage (0-100) of the primary component within the grid.
final
- meetingProgressTime → String
-
The meeting progress time to display on the timer.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showAspect → bool
-
A flag indicating whether to show the aspect ratio of the grid.
final
- showTimer → bool
-
A flag indicating whether to show the meeting progress timer.
final
- timeBackgroundColor → Color
-
The background color of the meeting progress timer.
final
- width → double
-
The width of the main grid container.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited