Skip to content
View snapsl's full-sized avatar
💭
coding...
💭
coding...

Block or report snapsl

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Window class matching material 3 gui... Window class matching material 3 guidelines.
    1
    import 'package:flutter/widgets.dart'
    2
        show BoxConstraints, BuildContext, MediaQuery;
    3
    
                  
    4
    /// BoxConstraints matching the material3 guidelines
    5
    const BoxConstraints materialBoxConstraints = BoxConstraints(maxWidth: 840);
  2. Use connectivity plus with riverpod Use connectivity plus with riverpod
    1
    import 'package:connectivity_plus/connectivity_plus.dart';
    2
    import 'package:riverpod_annotation/riverpod_annotation.dart';
    3
    
                  
    4
    part 'connectivity_status_provider.g.dart';
    5
    
                  
  3. list_extension.dart list_extension.dart
    1
    import 'dart:math' as math;
    2
    
                  
    3
    extension RandomListItem<T> on List<T> {
    4
      static final _rand = math.Random();
    5
    
                  
  4. Use sensor_plus 6.0 with riverpod 2.0 Use sensor_plus 6.0 with riverpod 2.0
    1
    import 'package:riverpod_annotation/riverpod_annotation.dart';
    2
    import 'package:sensors_plus/sensors_plus.dart';
    3
    
                  
    4
    part 'sensor_provider.g.dart';
    5
    
                  
  5. platform_extension.dart platform_extension.dart
    1
    import 'package:flutter/foundation.dart';
    2
    
                  
    3
    extension MobilePlatform on TargetPlatform {
    4
      /// Checks if platform is mobile.
    5
      bool isMobilePlatform() =>
  6. package_info_provider.dart package_info_provider.dart
    1
    import 'package:package_info_plus/package_info_plus.dart';
    2
    import 'package:riverpod_annotation/riverpod_annotation.dart';
    3
    
                  
    4
    part 'package_info_provider.g.dart';
    5