Skip to content

Instantly share code, notes, and snippets.

View loic-sharma's full-sized avatar

Loïc Sharma loic-sharma

View GitHub Profile
@loic-sharma
loic-sharma / 0 - README.md
Created July 18, 2024 20:27
Package sources

To generate top_200_popular_packages_20240718.json:

.mode list
.output sources/top_200_popular_packages_20240605.txt

SELECT
  lower_id
FROM 'tables/package_scores.json'
ORDER BY popularity_score DESC
@loic-sharma
loic-sharma / archive.md
Created July 9, 2024 18:24
Flutter design docs archive
@loic-sharma
loic-sharma / About.md
Last active July 8, 2024 07:41
Pub's migration to Swift Package Manager (2024-05-31)

Pub's migration to Swift Package Manager (2024-05-31)

These reports track the Pub ecosystem's migration from CocoaPods to Swift Package Manager.

This data was generated on 2024-05-31 using pub insights: https://github.com/loic-sharma/pub_insights

Results

  1. 10,241 packages contain a .podspec file.
  2. 73 packages contain a .modulemap file.
@loic-sharma
loic-sharma / error.md
Last active May 17, 2024 00:24
Shadowed submodule error

Shadowed submodule error

Problem

I am adding Swift Package Manager support to the camera_avfoundation package. See: flutter/packages#6710

However, the Mac_x64 ios_build_all_packages master check fails:

Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
@loic-sharma
loic-sharma / readme.md
Last active March 18, 2024 16:35
Android link error

Android link error reactions each day

flutter/flutter#83596

Data ranges from July 18, 2021 to March 3, 2024.

image

Week New reactions
@loic-sharma
loic-sharma / rfw_json.md
Last active February 26, 2024 17:58
RFW JSON format strawman

Given the following RFW text:

import core.widgets;

widget root = Row(
  children: [
    ...for city in args.cities:
      switch args.showCities {
        true: City(),
@loic-sharma
loic-sharma / main.dart
Last active January 2, 2024 17:42
Windows compositor animation regression
// The Windows compositor changes regresses the animation in
// the `material_floating_search_bar_2` package:
//
// https://pub.dev/packages/material_floating_search_bar_2/versions/0.5.0
//
// Below is a minimal repro of the broken animation. This has two pieces:
//
// 1. The background fades to a grey color
// 2. A box is "revealed" using a custom clipper
//
// Based off https://medium.com/akvelon/how-to-make-textfield-in-multiple-colors-in-flutter-c317ae0efafe
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
final controller = HubQLTextEditingController();
@loic-sharma
loic-sharma / swiftui_tutorial_feedback.md
Last active December 23, 2023 19:55
SwiftUI tutorial feedback

SwiftUI tutorial feedback

Last updated: 2023-12-23

The SwiftUI tutorials are truly excellent. They raise the bar for a UI framework's introduction. Please don't be discouraged by the feedback below, you all have done wonderful work!

I have not completed the tutorials yet. I will add more content as I continue progressing through the tutorials.

Seek feedback