This is an illustration of a Themed GSBox widget with default configuration.
import 'package:gluestack_ui/gluestack_ui.dart';
GSBox(
style: GSStyle(
padding: EdgeInsets.all($GSSpace.$5),
bg: $GSColors.primary500,
),
child: const GSText(
text: 'This is the Box',
),
)
Import
To use this component in your project, include the following import statement in your file.
import "package:gluestack_ui/gluestack_ui.dart"
This section provides a comprehensive reference list for the widget parameters, detailing descriptions, properties, types, and default behavior for easy project integration.
GSBox
It inherits all the properties of Flutter's
Container widget.