Skip to content

Instantly share code, notes, and snippets.

View BNSby's full-sized avatar

Николай Бескоровайный BNSby

View GitHub Profile
@eduardoflorence
eduardoflorence / main.dart
Created April 1, 2021 00:10
GetX - Sample ScrollMixin and Pagination
import 'package:flutter/material.dart';
import 'package:get/get.dart';
void main() {
runApp(GetMaterialApp(
initialRoute: '/home',
getPages: [
GetPage(
name: '/home',
page: () => HomePage(),
@eduardoflorence
eduardoflorence / main.dart
Created March 3, 2021 01:36
GetX - Sample Translation with GetStorage, GetxService, DropDownButton and PopMenuButton
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:get_storage/get_storage.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await initialConfig();
final storage = Get.find<StorageService>();