This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:beamer/beamer.dart'; | |
import 'package:flutter/material.dart'; | |
const List<Map<String, dynamic>> books = [ | |
{ | |
'id': '1', | |
'title': 'Stranger in a Strange Land', | |
'author': 'Robert A. Heinlein', | |
'genres': ['Science fiction'], | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter/gestures.dart'; | |
import 'dart:math' as math; | |
void main() => runApp(const BothAxisScrollbar()); | |
class BothAxisScrollbar extends StatelessWidget { | |
const BothAxisScrollbar({Key? key}) : super(key: key); | |
@override |