All checks were successful
ci/woodpecker/push/billing_fees Pipeline was successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/bff Pipeline was successful
ci/woodpecker/push/discovery Pipeline was successful
ci/woodpecker/push/fx_ingestor Pipeline was successful
ci/woodpecker/push/fx_oracle Pipeline was successful
ci/woodpecker/push/frontend Pipeline was successful
ci/woodpecker/push/gateway_mntx Pipeline was successful
ci/woodpecker/push/gateway_chain Pipeline was successful
ci/woodpecker/push/gateway_tgsettle Pipeline was successful
ci/woodpecker/push/nats Pipeline was successful
ci/woodpecker/push/ledger Pipeline was successful
ci/woodpecker/push/notification Pipeline was successful
ci/woodpecker/push/payments_orchestrator Pipeline was successful
28 lines
689 B
Dart
28 lines
689 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
import 'package:pweb/utils/text_field_styles.dart';
|
|
|
|
import 'package:pweb/generated/i18n/app_localizations.dart';
|
|
|
|
|
|
class OwnerField extends StatelessWidget {
|
|
final String value;
|
|
final List<DropdownMenuItem<String>> items;
|
|
final ValueChanged<String?>? onChanged;
|
|
|
|
const OwnerField({
|
|
super.key,
|
|
required this.value,
|
|
required this.items,
|
|
required this.onChanged,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) => DropdownButtonFormField<String>(
|
|
initialValue: value,
|
|
decoration: getInputDecoration(context, AppLocalizations.of(context)!.colDataOwner, true),
|
|
items: items,
|
|
onChanged: onChanged,
|
|
);
|
|
}
|