Gitea CI / Assemble and validate CI artifacts (push) Successful in 1m47s
Gitea CI / Check code and tests (push) Successful in 7m15s
Gitea CI / Build Android APK (push) Successful in 4m6s
Gitea CI / Build Windows x64 app (push) Successful in 3m34s
Gitea CI / Audit and package Windows x64 (push) Successful in 1m29s
Gitea CI / Gitea CI passed (push) Successful in 1s
Gitea Release / Prepare draft Release (push) Failing after 8s
Gitea Release / Upload Android to draft Release (push) Skipped
Gitea Release / Upload Windows to draft Release (push) Skipped
Gitea Release / Verify and publish Release (push) Skipped
16 lines
637 B
Dart
16 lines
637 B
Dart
import 'package:cutdex/l10n/l10n.dart';
|
|
import 'package:cutdex_core/editor.dart';
|
|
import 'package:flutter/widgets.dart';
|
|
|
|
extension EffectTypeLabel on ClipEffectType {
|
|
String label(BuildContext context) => switch (this) {
|
|
ClipEffectType.dropShadow => context.l10n.dropShadow,
|
|
ClipEffectType.innerShadow => context.l10n.innerShadow,
|
|
ClipEffectType.layerBlur => context.l10n.layerBlur,
|
|
ClipEffectType.backgroundBlur => context.l10n.backgroundBlur,
|
|
ClipEffectType.glass => context.l10n.glassEffect,
|
|
ClipEffectType.noise => context.l10n.noiseEffect,
|
|
ClipEffectType.texture => context.l10n.textureEffect,
|
|
};
|
|
}
|