Created
June 8, 2021 00:47
-
-
Save diefferson/94e29a682bf1a460ab98e9f859cce466 to your computer and use it in GitHub Desktop.
Stark component
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:stark/stark.dart'; | |
class _MyHomePageState extends State<MyHomePage> with StarkComponent { | |
late ViewModel _viewModel; | |
@override | |
void initState() { | |
super.initState(); | |
_viewModel = get<ViewModel>(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment