FigmaScaffoldComponent constructor
const
FigmaScaffoldComponent(
- String? bodyNodeName, {
- String? appBarNodeName,
- String? bottomBarNodeName,
- String? floatingActionButtonNodeName,
- List<
NodeTransformer> appBarTransformers = const [], - List<
NodeTransformer> bodyTransformers = const [], - List<
NodeTransformer> bottomBarTransformers = const [], - List<
NodeTransformer> fabTransformers = const [], - Color? backgroundColor,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- Key? key,
Creates a FigmaScaffoldComponent.
The screenNodeName is required and represents the name of the container
node in Figma that holds the entire screen design.
Other named parameters allow specifying which nodes should be treated as special parts of the Scaffold, and what transformers to apply to each.
Implementation
const FigmaScaffoldComponent(
this.bodyNodeName, {
this.appBarNodeName,
this.bottomBarNodeName,
this.floatingActionButtonNodeName,
this.appBarTransformers = const [],
this.bodyTransformers = const [],
this.bottomBarTransformers = const [],
this.fabTransformers = const [],
this.backgroundColor,
this.floatingActionButtonLocation,
super.key,
});