mirrored_repositories/public-apis-mobile-client/lib/app/modules/controllers/home_controller
import 'package:public_apis_desktop_client/app/modules/controllers/home_controller/extensions/scroll_to_top_bottom.dart';
import 'package:public_apis_desktop_client/app/modules/controllers/home_controller/home_controller.dart';

import '../../../../data/models/fab_model.dart';

extension InitFabOptionsDataExtension on HomeController {
  void initFabOptionsData() {
    fabOptionsData = {
      "up": FabData(
        direction: FabDirectionOption.up,
        callback: scrollToTop,
      ),
      "down": FabData(
        direction: FabDirectionOption.down,
        callback: scrollToBottom,
      ),
    };
  }
}
