25 lines
683 B
Dart
25 lines
683 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:ui_kit/categories.dart';
|
|
import 'package:ui_kit/utils.dart';
|
|
|
|
class CategoriesSection extends StatefulWidget {
|
|
const CategoriesSection({super.key});
|
|
|
|
@override
|
|
State<CategoriesSection> createState() => _CategoriesSectionState();
|
|
}
|
|
|
|
class _CategoriesSectionState extends State<CategoriesSection> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
margin: EdgeInsets.only(bottom: height(context) * 5),
|
|
width: width(context) * 100,
|
|
height: 48,
|
|
child: CategoriesWidget(
|
|
itemsList: ['Популярные', 'Женщинам', 'Мужчинам'],
|
|
),
|
|
);
|
|
}
|
|
}
|