selfprivacy.org.app/lib/ui/components/pre_styled_buttons/pre_styled_buttons.dart

23 lines
834 B
Dart
Raw Normal View History

2021-05-26 00:53:54 +03:00
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:ionicons/ionicons.dart';
import 'package:selfprivacy/config/brand_colors.dart';
2022-08-30 06:09:09 +03:00
import 'package:selfprivacy/logic/cubit/client_jobs/client_jobs_cubit.dart';
2021-05-26 00:53:54 +03:00
import 'package:selfprivacy/ui/components/brand_bottom_sheet/brand_bottom_sheet.dart';
import 'package:selfprivacy/ui/components/brand_text/brand_text.dart';
import 'package:easy_localization/easy_localization.dart';
import 'package:selfprivacy/ui/components/jobs_content/jobs_content.dart';
2021-06-21 00:08:52 +03:00
import 'package:selfprivacy/ui/helpers/modals.dart';
2021-05-26 00:53:54 +03:00
part 'close.dart';
part 'flash.dart';
class PreStyledButtons {
static Widget close({
2022-06-05 22:36:32 +03:00
required final VoidCallback onPress,
2021-05-26 00:53:54 +03:00
}) =>
_CloseButton(onPress: onPress);
static Widget flash() => _BrandFlashButton();
2021-05-26 00:53:54 +03:00
}