feat : add supervision

This commit is contained in:
2025-04-16 15:53:58 +03:30
parent 8f93a5c893
commit a413aa47ea
6 changed files with 119 additions and 5 deletions

View File

@@ -0,0 +1,34 @@
import 'package:flutter/material.dart';
import 'package:rasadyar_core/core.dart';
class AddSupervisionLogic extends GetxController {
RxInt selectedSegment = 0.obs;
// The data for the segments
final Map<int, Widget> segments = {
0: Container(
padding: EdgeInsets.all(10),
decoration: BoxDecoration(borderRadius: BorderRadius.circular(50)),
child: Text('دائم', style: AppFonts.yekan13),
),
1: Container(
padding: EdgeInsets.all(10),
decoration: BoxDecoration(borderRadius: BorderRadius.circular(50)),
child: Text('موقت', style: AppFonts.yekan13),
),
};
@override
void onReady() {
// TODO: implement onReady
super.onReady();
}
@override
void onClose() {
// TODO: implement onClose
super.onClose();
}
}