titleButtonOk static method

Widget titleButtonOk(
  1. dynamic context,
  2. dynamic onPress
)

Implementation

static Widget titleButtonOk(context, onPress) {
  return Padding(
    padding: const EdgeInsets.all(8.0),
    child: titleButton(
        icon: Icons.check_circle,
        onPress: () {
          onPress?.call();
        },
        context: context),
  );
}