#sprint-3
This commit is contained in:
parent
a16e97c877
commit
b649bfe419
@ -44,7 +44,7 @@ class MainApp extends StatelessWidget {
|
||||
SearchSection(),
|
||||
ButtonSection(),
|
||||
SmallButtonSection(),
|
||||
TabBarWidget(),
|
||||
TabBarWidget(onTap: (val) {}, selectedIndex: 0),
|
||||
BottomSheetSection(),
|
||||
HeaderSection(),
|
||||
CardSection(),
|
||||
|
@ -1,16 +0,0 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:ui_kit/ui_kit.dart';
|
||||
|
||||
class TabBarSection extends StatefulWidget {
|
||||
const TabBarSection({super.key});
|
||||
|
||||
@override
|
||||
State<TabBarSection> createState() => _TabBarSectionState();
|
||||
}
|
||||
|
||||
class _TabBarSectionState extends State<TabBarSection> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return TabBarWidget();
|
||||
}
|
||||
}
|
@ -1,9 +1,13 @@
|
||||
// ignore_for_file: must_be_immutable
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:ui_kit/colors.dart';
|
||||
import 'package:ui_kit/fonts.dart';
|
||||
|
||||
class TabBarWidget extends StatefulWidget {
|
||||
const TabBarWidget({super.key});
|
||||
TabBarWidget({super.key, required this.onTap, required this.selectedIndex});
|
||||
int selectedIndex;
|
||||
Function(int index) onTap;
|
||||
|
||||
@override
|
||||
State<TabBarWidget> createState() => _TabBarWidgetState();
|
||||
|
Loading…
x
Reference in New Issue
Block a user