flutter_adaptive 2.3.0 copy "flutter_adaptive: ^2.3.0" to clipboard
flutter_adaptive: ^2.3.0 copied to clipboard

discontinued

A series of widgets and utilities that adapt to the current platform.

2.3.0 #

  • On iOS ListTiles no longer have a maxLines limit set to 1

2.2.1 #

  • Updated changelog

2.2.0 #

BREAKING CHANGES:

  • Moved Icons class in a separate package (adaptive_icons)

2.1.0 #

  • Add vertical spacing to dialog buttons for when they are placed vertically

2.0.1 #

  • Fix issues with showDatePicker() and showActionSheet()

2.0.0 #

BREAKING CHANGES:

  • Remove isIOS export in favor of a getter on BuildContext instances via an extension. This allows widgets to adapt to the current platform for web users too.

    Replace

    import 'package:flutter_adaptive/flutter_adaptive.dart' as adaptive;
    
    adaptive.isIOS;
    

    with

    // The extension with the isIOS getter is exported from here
    import 'package:flutter_adaptive/platform.dart';
    
    context.isIOS;
    
  • scrollPhysics and all icons now require a BuildContext

    Replace

    import 'package:flutter_adaptive/flutter_adaptive.dart' as adaptive;
    
    adaptive.scrollPhysics;
    
    Icon(adaptive.Icons.add);
    

    with

    import 'package:flutter_adaptive/flutter_adaptive.dart' as adaptive;
    
    adaptive.scrollPhysics(context);
    
    Icon(adaptive.Icons.add(context));
    

1.1.0 #

  • Add onGeneratePreviousPageTitle global. Use this to generate a route's previousPageTitle from just one place if your use-case allows this.

1.0.2 #

  • Update README

1.0.1 #

  • Add example
  • Add documentation

1.0.0 #

  • Initial release