first commit

This commit is contained in:
Aditya Siregar
2025-07-30 22:38:44 +07:00
commit 73320561b0
444 changed files with 64633 additions and 0 deletions
@@ -0,0 +1,19 @@
import 'package:bloc/bloc.dart';
import 'package:flutter/material.dart';
import 'package:enaklo_pos/data/datasources/product_local_datasource.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
part 'generate_table_event.dart';
part 'generate_table_state.dart';
part 'generate_table_bloc.freezed.dart';
class GenerateTableBloc extends Bloc<GenerateTableEvent, GenerateTableState> {
GenerateTableBloc() : super(_Initial()) {
on<_Generate>((event, emit) async {
emit(_Loading());
// await ProductLocalDatasource.instance
// .createTableManagement(event.count);
emit(_Success('Generate Success'));
});
}
}