mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
removed unnecessary BuildContext
from TagChipDisplay
constructor, sorted its properies, and converted to using super.key
.
This commit is contained in:
@ -145,7 +145,6 @@ class CreateSpaceModelDialog extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
TagChipDisplay(
|
TagChipDisplay(
|
||||||
context,
|
|
||||||
screenWidth: screenWidth,
|
screenWidth: screenWidth,
|
||||||
spaceModel: updatedSpaceModel,
|
spaceModel: updatedSpaceModel,
|
||||||
products: products,
|
products: products,
|
||||||
|
@ -23,19 +23,19 @@ class TagChipDisplay extends StatelessWidget {
|
|||||||
final List<SpaceTemplateModel>? allSpaceModels;
|
final List<SpaceTemplateModel>? allSpaceModels;
|
||||||
final List<Tag> projectTags;
|
final List<Tag> projectTags;
|
||||||
|
|
||||||
const TagChipDisplay(BuildContext context,
|
const TagChipDisplay({
|
||||||
{Key? key,
|
required this.screenWidth,
|
||||||
required this.screenWidth,
|
required this.spaceModel,
|
||||||
required this.spaceModel,
|
required this.products,
|
||||||
required this.products,
|
required this.subspaces,
|
||||||
required this.subspaces,
|
required this.allTags,
|
||||||
required this.allTags,
|
required this.spaceNameController,
|
||||||
required this.spaceNameController,
|
required this.projectTags,
|
||||||
this.pageContext,
|
this.pageContext,
|
||||||
this.otherSpaceModels,
|
this.otherSpaceModels,
|
||||||
this.allSpaceModels,
|
this.allSpaceModels,
|
||||||
required this.projectTags})
|
super.key,
|
||||||
: super(key: key);
|
});
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
Reference in New Issue
Block a user