Masterarbeit Richard Stern. Flutter App, sich mit einem Bluetooth-Gerät verbindet und Berührungen auf einem Sensor visualisiert.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

noAnimationMaterialPageRoute.dart 590B

1234567891011121314151617181920
  1. import 'package:flutter/material.dart';
  2. class NoAnimationMaterialPageRoute<T> extends MaterialPageRoute<T> {
  3. NoAnimationMaterialPageRoute({
  4. @required WidgetBuilder builder,
  5. RouteSettings settings,
  6. bool maintainState = true,
  7. bool fullscreenDialog = false,
  8. }) : super(
  9. builder: builder,
  10. maintainState: maintainState,
  11. settings: settings,
  12. fullscreenDialog: fullscreenDialog);
  13. @override
  14. Widget buildTransitions(BuildContext context, Animation<double> animation,
  15. Animation<double> secondaryAnimation, Widget child) {
  16. return child;
  17. }
  18. }