Skip to content

Instantly share code, notes, and snippets.

View Amitbhave's full-sized avatar
:octocat:
Working from home

AmitB Amitbhave

:octocat:
Working from home
View GitHub Profile
@boeledi
boeledi / shared_preferences.dart
Last active January 28, 2024 22:23
Sample to show a way of using the SharedPreferences in a build
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
List<String> _languages = <String>['de','en','es','fr','it','nl','pt'];
class TestPage extends StatefulWidget {
@override
_TestPageState createState() => _TestPageState();
@rcotrina94
rcotrina94 / How to use Images as Radio buttons.md
Last active February 22, 2024 13:29
How to use images for radio buttons (input-radio).