forked from eatvio/eatvio_app
trailing comma rule added
This commit is contained in:
@@ -89,11 +89,11 @@ class InitializationCubit extends Cubit<InitializationState> {
|
||||
|
||||
emit(InitializationState.success(
|
||||
client: client,
|
||||
));
|
||||
),);
|
||||
} catch (e) {
|
||||
emit(InitializationState.error(
|
||||
errorMessage: e.toString(),
|
||||
));
|
||||
),);
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,5 +11,5 @@ void showInfoToast(String message) {
|
||||
timeInSecForIosWeb: _toastDuration,
|
||||
backgroundColor: appTheme.blueA400,
|
||||
textColor: appTheme.whiteA700,
|
||||
fontSize: 16.0);
|
||||
fontSize: 16.0,);
|
||||
}
|
||||
|
||||
10
lib/core/widgets/base_button.dart
Normal file
10
lib/core/widgets/base_button.dart
Normal file
@@ -0,0 +1,10 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class BaseButton extends StatelessWidget {
|
||||
const BaseButton({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return FilledButton(onPressed: () {}, child: Text('qweqwe'));
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,7 @@ import 'package:flutter/material.dart';
|
||||
|
||||
class CustomDivider extends StatelessWidget {
|
||||
const CustomDivider({super.key});
|
||||
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Divider(
|
||||
|
||||
Reference in New Issue
Block a user