Skip to content

Instantly share code, notes, and snippets.

View nabil6391's full-sized avatar

Nabil Mosharraf nabil6391

View GitHub Profile
@nabil6391
nabil6391 / strings_to_arb.dart
Last active February 11, 2021 10:20
Flutter Extract All Strings to Arb
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:args/args.dart';
import 'package:path/path.dart' as path;
const String sourceKey = 'source';
const String sourceDefault = './lib/';
@nabil6391
nabil6391 / Flutter Listview Scroll to a positon
Created May 3, 2020 09:24
A ScrollablePositionedList works much like the builder version of ListView except that the list can be scrolled or jumped to a specific item.
import 'package:flutter/material.dart';
import 'package:scrollable_positioned_list/scrollable_positioned_list.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {