getDefaultFloatingButton method

Widget getDefaultFloatingButton({
  1. required VoidCallback onPress,
})
inherited

Implementation

Widget getDefaultFloatingButton({required VoidCallback onPress}) {
  var floatingBtn = Column(
    mainAxisAlignment: MainAxisAlignment.end,
    children: <Widget>[
      Padding(
        padding: const EdgeInsets.only(bottom: 0, right: 16),
        child: FloatingActionButton(
          onPressed: onPress,
          child: const Icon(
            Icons.check,
            color: Colors.white,
          ),
        ),
      )
    ],
  );

  return floatingBtn;
}